A Boilerplate application for building REST APIs using node, express and mongoose
- commit messages are validated by this convention.
- Airbnb's javascript style guide and eslint config is followed.
- Code depends on
.env
files and will validate the files to run properly. - To reflect changes in
.env
files, a restart will be required. - Staged files will be fixed for linting error before commit by eslint, husky and lint-staged.
npm i
- Create environment files according to environment like
.env.development
by copying the.env.example
file and add respective values. Create one for each environment.
npm run dev
npm run test
npm run lint
npm run test:coverage
Mongo
brew services start mongodb