Starter pack for Nodejs API
- MongoDB connection
- Input Validations
- Authentication
- Rate limits
Make sure installed,
- Mongo DB,
- npm nodemon and pm2 packages,
on your machine.
First, clone repository.
git clone https://github.com/ook0/node-starter.git
Then install dependencies.
npm install
- Edit DB_URL: Url for Mongo DB connection.
For development:
nodemon app
For production:
pm2 start app