I created this simple starter kit to get started working on simple Node.js API project quickly
Hosting
Testing
- Linting (Airbnb)
- Authentication with JSON Web Token
- Username, Email, Password validations
- User signup, signin
- API and Unit testing
- Easily deployable to Heroku (Procfile)
Make sure to install and run MongoDb first.
brew update
brew install mongodb
mongod
Clone the repo and run the app
git clone git@github.com:yhagio/node-mongo-api-starter.git nd
cd nd
npm i
npm run start
mongod
npm run test
To show coverage
npm run coverage
heroku login
heroku create
git push heroku master