Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Node.js / Express / MongoDB / Mongoose / Authentication API Starter Kit

License

Notifications You must be signed in to change notification settings

yhagio/node-mongo-api-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js / Express / MongoDB (Mongoose) starter kit

I created this simple starter kit to get started working on simple Node.js API project quickly

Hosting

Testing

Features

  • Linting (Airbnb)
  • Authentication with JSON Web Token
  • Username, Email, Password validations
  • User signup, signin
  • API and Unit testing
  • Easily deployable to Heroku (Procfile)

To run locally

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

To run test

mongod
npm run test

To show coverage

npm run coverage

To deploy on Heroku

heroku login
heroku create
git push heroku master

About

Node.js / Express / MongoDB / Mongoose / Authentication API Starter Kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published