-
Hugo SUBTIL authoredHugo SUBTIL authored
README.md 3.66 KiB
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
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.
Application
Installation des dépendences applicatives:
$ npm install
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
Infos
# Lien vers le swagger
$ http://localhost:3000/api
# Lien vers le mongo-express
$ http://localhost:8081