Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.27 KB

Express Microservice API Starter with MongoDB

Includes API Server utilities:

  • concurrently
    • Promise based HTTP client for the browser and node.js
  • axios
    • Run multiple commands concurrently
  • mongoose
    • Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment
  • morgan
    • HTTP request logger middleware for node.js
  • helmet
    • Helmet helps you secure your Express apps by setting various HTTP headers. It's not a silver bullet, but it can help!
  • dotenv
    • Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env

Development utilities:

  • nodemon
    • nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.

Setup

npm install

Start

npm run start

Development

npm run dev

Docker

comment all variables in envs for docker build

docker-compose up --build