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.
- Host: GitHub
- URL: https://github.com/clydedacruz/express-boilerplate
- Owner: clydedacruz
- License: mit
- Created: 2018-03-09T06:35:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T06:46:47.000Z (over 7 years ago)
- Last Synced: 2025-03-22T02:22:29.177Z (7 months ago)
- Topics: express, expressjs, nodejs, rest, winston-logger
- Language: JavaScript
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`