Skip to content

prabhunaveen/ml-survey-service

 
 

Repository files navigation

Mange Learn Survey APIs

Environment variables:

Hostname

HOST = localhost

Port number

POST = 3000

Mongo DB connecting string

MONGODB_URL = mongodb://localhost:27017

Database name

DB = dbname

Log level

  • 0 EMERGENCY system is unusable
  • 1 ALERT action must be taken immediately
  • 2 CRITICAL the system is in critical condition
  • 3 ERROR error condition
  • 4 WARNING warning condition
  • 5 NOTICE a normal but significant condition
  • 6 INFO a purely informational message
  • 7 DEBUG messages to debug an application
LOG = debug

port Define environment

NODE_ENV = development

Environment:

production

NODE_ENV=production node app.js

stage

NODE_ENV=stage node app.js

qa

NODE_ENV=qa node app.js

development

NODE_ENV=development node app.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.1%
  • TypeScript 3.7%
  • HTML 2.1%
  • SCSS 0.1%
  • CSS 0.0%
  • Shell 0.0%