jeemok / express-boilerplate

Simple Express REST API boilerplate with Winston logging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple Express REST API boilerplate with Winston logging.

License:MIT License


Languages

Language:JavaScript 100.0%