Apergot / ts-node-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Backend Template

Example node project to use as a template.

Requirements

  • Node.js
  • NVM

Getting Started

Before starting the project, you must switch to the correct Node version and install the necessary dependencies. Run the following commands in your terminal:

nvm use
npm install

Script Commands

Start Backend

To start the backend of the application in development mode, run:

npm start

Unit Tests

To run the unit tests using Jest, run:

npm run test:unit

Integration Tests

To run the integration tests using Jest, run:

npm run test:integration

Run All Tests

To run all tests (Integration and unit) in one operation, run:

npm test

About


Languages

Language:TypeScript 99.3%Language:JavaScript 0.7%