A vanilla Javascript JSON API boilerplate for NodeJS API. Following tools are already configured
- Server configuration using
fastify
- Database connection using
prisma
- Absolute paths using NodeJS built-in methods
- Automated testing using
vitest
- Typechecking using
jsdoc
andtsc
- Code formatting using
prettier
- Linting using
eslint
# start the application (in production mode)
$ npm start:prod
# run the tests
$ npm test ./src/
# perform linting and type checking
$ npm run check
# format code
$ npm run fmt