Skip to content

maxceem/starter-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter template for NODEJS

Starter template with login and registration.
Bases on mongodb

Requirements

Configuration

Configuration files are located under config dir.
See Guild https://github.com/lorenwest/node-config/wiki/Configuration-Files

Name Description
PORT The port to listen
MONGODB_URL The mongodb url
VERBOSE_LOGGING The flag if enable debug information
SMTP_PORT the smtp port
SMTP_USERNAME the smtp username
EMAIL_SENDER_ADDRESS the email sender
RESET_PASSWORD_EXPIRATION the expiration for emails, use values like 1d, 10h

Install dependencies

npm i

Running

npm run <script> Description
start Serves the app in prod mode.
dev Same as npm start, but enables nodemon for the server as well.
oauth run app on port 5000 to get social access tokens
lint Lint all .js files.
lint:fix Lint and fix all .js files. Read more on this.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%