A Boilerplate application for building REST APIs using node, express and SQL databases.
- 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 an environment file by copying the
.env.example
file and add respective values.
npm run dev
npm run lint
npm run migration:create <migration-name>
npm run db:migrate