mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
29 lines
533 B
JavaScript
Executable File
29 lines
533 B
JavaScript
Executable File
/**
|
|
* JAWS "App" Library
|
|
* - Re-usable, modular code that you can require in both your server and lambda functions.
|
|
* - Loading Order is important. Ensure services (AWS) are loaded before code that uses them.
|
|
*/
|
|
|
|
|
|
/**
|
|
* Config
|
|
*/
|
|
|
|
module.exports.config = require('./config/config');
|
|
|
|
/**
|
|
* Models
|
|
*/
|
|
|
|
module.exports.models = {
|
|
AWS: require('./models/model_aws'),
|
|
User: require('./models/model_user')
|
|
};
|
|
|
|
/**
|
|
* Middleware
|
|
*/
|
|
|
|
module.exports.middleware = {
|
|
Incoming: require('./middleware/middleware_incoming')
|
|
}; |