API pour l'application i-santé
Application Web et mobile pour traiter les données médicales des différents patients (stocker leurs données + suivies médicales + prise de rendez vous + fiches des médecins...)
$ sudo npm i -g @nestjs/cli => install nestjs $ nest new isante-api => create new project isante-api $ sudo npm install --save @nestjs/mongoose mongoose => install mongoose
$ nest g resource => Crud generator - command not only generates all the NestJS building blocks (module, service, controller classes) but also an entity class, DTO classes as well as the testing (.spec) files.
$ nest g mo : Generate a module $ nest g co : Generate a controller $ nest g s : Generate a service
$ npm i --save @nestjs/swagger => to install swagger
$ npm install -g win-node-env => to fix error : 'NODE_ENV' n’est pas reconnu en tant que commande interne
$ npm run start
$ npm run start:dev
$ npm run start:prod
$ npm run test
$ npm run test:e2e
$ npm run test:cov
$ npx compodoc -p tsconfig.json -s
- https://www.typescriptlang.org/
- https://docs.nestjs.com/
- https://github.com/nestjs/swagger
- ##https://docs.mongodb.com/manual/crud/
- https://www.npmjs.com/package/postgres
- https://github.com/saadsabir/iSante/
- https://kinsta.com/fr/base-de-connaissances/nestjs/
--exemple : https://github.com/onwuvic/nest-blog-api https://github.com/corbig/nest-notes-api-example