Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 603 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 603 Bytes

Node API Core

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 and tsc
  • Code formatting using prettier
  • Linting using eslint

Scripts

# 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