An open API service indexing awesome lists of open source software.

https://github.com/clydedacruz/express-boilerplate

Simple Express REST API boilerplate with Winston logging.
https://github.com/clydedacruz/express-boilerplate

express expressjs nodejs rest winston-logger

Last synced: 7 months ago
JSON representation

Simple Express REST API boilerplate with Winston logging.

Awesome Lists containing this project

README

          

# express-boilerplate
A bare bones REST API using Express, which uses Winston for logging

## Install
`npm install`
## Startup
`NODE_ENV=development npm start`
## Logging
### Logging level
`NODE_ENV=development LOGGING_LEVEL=debug npm start`
### Logging directory
The logging directory is specified using the `LOGGING_DIRECTORY` variable in the config file.

## Configuration
Uses separate config files in `/config` for each environment i.e `development`,`test`, and `production`