This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express'; | |
// ... So much space for unstable dependency imports ... | |
let app = express(); | |
// ... Insert your own routing magic ... | |
export default app; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AWS = require( 'aws-sdk' ), | |
env = process.env; | |
var db = new AWS.DynamoDB({ | |
accessKeyId: env.ACCESS_KEY_ID, | |
secretAccessKey: env.SECRET_ACCESS_KEY | |
}); | |
module.exports = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require( 'express' ), | |
body = require( 'body-parser' ), | |
env = process.env; | |
App = express(); | |
/** | |
* Load up the App.locals as a reference carrying singleton superstar | |
*/ | |
App.locals = { |