Skip to content
Snippets Groups Projects
Bastien DUMONT's avatar
Bastien DUMONT authored
refactor: update test naming

See merge request !328
c2a64b2a
History

Res'In Serveur

L'appplication est basée sur le framework Nest. Celle-ci utilise une BDD mongodb.

Installation

Prérequis

Windows: avoir Docker Desktop installé Linux: avoir docker et docker-compose installé

Créer un ficher .env sur le modèle du ficher template.env et remplir les différentes variables.

Installation

Suivre le wiki d'installation disponible sur le client

Running the app

Base de donnée

$ docker-compose up -d database-ram
$ docker-compose up -d mongo-express

Application

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Liens

Documentation

A documentation is generated with compodoc in addition of the existing documentation on the wiki.

npm run doc:serve

You can now visualize it at : localhost:8080

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed.