Nest framework TypeScript starter repository.
$ yarn install
$ yarn docker # create postgresql docker please remind not using port 5432
# yarn docker:clear for remove and clean container and image
$ yarn migrate
$ yarn seed
# no of seed could be adjust in src/prisma/seed.ts
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
IMPORT "nest-hospital.postman_collection.json" to POSTMAN and test
or
using swagger ui
- dotenv
- prisma
- faker
- @nestjs/swagger
- versioning data in table.
- db downed show error reponse but when the db up the nest not reconnect. need more time to fix.