Skip to content

huiman/nest-hospital

Repository files navigation

Description

Nest framework TypeScript starter repository.

Installation

$ yarn install

Config and migrate

$ 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

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Testing the app

IMPORT "nest-hospital.postman_collection.json" to POSTMAN and test

or

using swagger ui

additionsal library usage

  • dotenv
  • prisma
  • faker
  • @nestjs/swagger

FURTURES IMPROVEMENT

  • versioning data in table.
  • db downed show error reponse but when the db up the nest not reconnect. need more time to fix.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published