Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 583 Bytes

File metadata and controls

14 lines (11 loc) · 583 Bytes

Template for REST API with Node, Babel and Mongo

Environment variables

Variable Description
NODE_ENV "prod" or other (dev is default), define in which environment the server will run
APP_PORT define in which port the server will run
DB_PROD define the Mongo production host
DB_PROD define the Mongo production host
ENCRYPT_TEXT define the string that will encrypt password when create a new user
PRIVATE_KEY define the string that will check if token is valid

Made with ♥ by Victor Lucas