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
.envfiles and will validate the files to run properly. - To reflect changes in
.envfiles, 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.developmentby copying the.env.examplefile and add respective values. Create one for each environment.
npm run devnpm run testnpm run lintnpm run test:coverageMongo
brew services start mongodb