



node-api-server
Usage
npm install node-api-server
require('node-api-server')(({ server, config }, callback) => {
callback()
})
Create a directory structure like this:
- api/
- controllers/
- services/
- policies/
- models/
- config/
- connections.js
- controllers.js
- globals.js
- logger.js
- middleware.js
- models.js
- policies.js
- routes.js
- server.js
- services.js
- session.js
- socket.js
- app.js
// @TODO add readme.md for each directory and the optional configs that can be used
// @TODO add example files and example repo to pull and get started with
This module will read all files in the api directories and read them into
modules for use. You can set them globally with config files in the config directory.