A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
# Repo Cloning
$ git clone https://github.com/Simplon-hdf/API-le-bateau-livre.git
# Change Directory
$ cd Api-le-bateau-livre
# PNPM Installation
$ npm install
# Modifier le fichier .env
DATABASE_URL="postgresql://username:password@localhost:5432/dbname?schema=public"
# Prisma Migration
$ npx prisma migrate dev
# Mise en Production
$ npm run start:prod
# Swagger
Ouvrir l'adresse suivante dans un navigateur Web : http://localhost:3001/api
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.
- Doc OpenAPI (Swagger) NestJS - docs.nestjs
- Swagger - @nestjs/swagger
Ceci est une API pour les employés d'une médiathèque, ces employés peuvent référencés chaque livre sur le site de la médiathèque pour examiner les disponibilités des livres.