This is a repository intended to serve as a starting point of a backend API using javascript.
- Prettier
- ESLint with:
- Simple Import Sort
- Import plugin
- SonarJS plugin
- And a few other ES2015+ related rules
- Jest
- GitHub Action workflows set up to run tests and linting on push
# install dependencies
npm install
# run in dev mode (using nodemon) on port 3001
npm run dev
# run content on port 3001
npm run start
# run tests
npm run test
# run coverage of tests
npm run test:coverage
# run linter
npm run lint
# fix lint issues
npm run lint:fix