node-express-server-api
v0.2.0
Published
Um Super Server Express
Downloads
8
Maintainers
Readme
Node Server API
A node http server with pre-configs to implement API Rest like serve using Node Http (https://nodejs.org/api/http.html) or extends its.
Config
{
"server": {
"name": "node-express-server-api",
"version": "1.0.0",
"running": true
},
"logger": {
"console": {
"level": "debug"
},
"file": {
"level": "error",
"path": "./node-express-server-api.log"
},
"elasticsearch": {
"indexPrefix": "node-express-server-api"
}
}
}
Dependencies
What node libraries uses to config server.
Commons
Sys config
- config: Easy system configs environment target.
Logging
- winston: Easy logging transformers.
- winston-elasticsearch: Optional Elasticsearch logging config.
- morgan: Easy Http Server logging.
Server
- express: Express Server.