/NodeSkeleton

My skeleton in the cupboard

Primary LanguageJavaScript

What is this?

This is a skeleton for an API project in nodejs and mongodb.

Setup

  • Clone the project
  • Remove .gitignore (to detach from current repository)
  • Rename the folder
  • Customize DB secrets in .env file. Remember to add .env file to .gitignore if you upload to own repository
  • Install npm dependencies.
#!javascript
npm install
  • Run. (I recommend using an awesome tool called nodemon to auto reload server upon file changes)
#!javascript
sudo nodemon -L