Skip to content

node js express server with configuration for managing multiple environments deployments

License

Notifications You must be signed in to change notification settings

tarek-saimouah/node_multiple_deployments

Repository files navigation

NODE.JS EXPRESS SERVER MULTIPLE ENVIRONMENTS DEPLOYMENTS SAMPLE

Node.js REST API with multiple environments sample project documentation.

Tech Stack

  • Node js (16^).
  • Express.js (4^)
  • mongodb (5^)
  • os: linux ubuntu (LTS version)

How to use

  • clone project

  • create .env file in the root directory and fill this environment variable:

  • MONGODB_URL=mongodb://db_username:db_password@localhost:27017/${NODE_ENV}_deployment_db?authSource=admin

  • run:

$ npm install
$ npm run start:dev
  • test:
$ curl http://localhost:3001/hello

About

node js express server with configuration for managing multiple environments deployments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published