mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 11:34:53 +00:00
41 lines
594 B
Markdown
41 lines
594 B
Markdown
# Backend
|
|
|
|
## Description
|
|
This is the backend APIs project, developed with NestJS for Syncrow IOT Project.
|
|
|
|
## Installation
|
|
First, ensure that you have Node.js `v20.11` or newer (LTS ONLY) installed on your system.
|
|
|
|
To install the project dependencies, run the following command in the project root directory:
|
|
|
|
```bash
|
|
$ npm install
|
|
```
|
|
|
|
## Running the app
|
|
|
|
```bash
|
|
# development
|
|
$ npm run start
|
|
|
|
# watch mode
|
|
$ npm run start:dev
|
|
|
|
# production mode
|
|
$ npm run start:prod
|
|
```
|
|
|
|
## Test
|
|
|
|
```bash
|
|
# unit tests
|
|
$ npm run test
|
|
|
|
# e2e tests
|
|
$ npm run test:e2e
|
|
|
|
# test coverage
|
|
$ npm run test:cov
|
|
```
|
|
|