Template Repository for Node.js, TypeScript, Jest, and Express.
Initiate the installation of project dependencies with the following command:
npm install
To run the development server, use:
npm run dev
Execute the following command to run tests in watch mode:
npm test
To build the project, use:
npm run build
To run ESLint for TypeScript files, use:
npm run lint
src/
: Source code directoryserver.ts
: Main server file- ...
body-parser
: ^1.20.2cors
: ^2.8.5dotenv
: ^16.3.1express
: ^4.18.2express-rate-limit
: ^7.1.5mongoose
: ^8.0.3supertest
: ^6.3.3winston
: ^3.11.0
@types/cors
: ^2.8.17@types/eslint
: ^8.44.9@types/express
: ^4.17.21@types/jest
: ^29.5.11@types/node
: ^20.10.4@types/supertest
: ^2.0.16@typescript-eslint/eslint-plugin
: ^6.14.0@typescript-eslint/parser
: ^6.14.0eslint
: ^8.55.0eslint-config-standard-with-typescript
: ^39.1.1eslint-plugin-import
: ^2.28.1eslint-plugin-n
: ^16.2.0eslint-plugin-promise
: ^6.1.1jest
: ^29.7.0ts-jest
: ^29.1.1ts-node
: ^10.9.1typescript
: ^5.3.3