Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.1 KB

File metadata and controls

33 lines (20 loc) · 1.1 KB

Open in Visual Studio Code

Initial Machine Setup

  1. Install NodeJS 22

Get Started

  1. Install npm install
  2. Configure mysql connection config file
  3. Run the app npm run start

Documentation

Swagger docs can be found at:

Linting

Code linters: eslint with pluggable Prettier configs.

  • run: npm run lint
  • fix JS errors: lint:fix Eslint configuration file: here

Testing

We use Jest for unit tests. Test file for .js should be named as .test.js and be placed along with code file.

  • run unit tests: npm run test
  • run tests with coverage: npm run test:cover

Refer to this document for more details.