A Simple CRUD Books Store API with NestJs, Postgres, Prisma.
git clone [email protected]:minhtc-tech/p_nest-books-store.git- cd into
p_nest-books-store
yarn install- run
npx prisma generate, make sure you have prisma cli
npx prisma db pull-
run
docker compose up -d, make sure you have docker in your local machine -
rename
.env.sampleto.envand populate the required parameters -
run
yarn start:devfor the APIs server at: http://localhost:3333 -
the swagger api at: http://localhost:3333/api
-
run
npx prisma studioto view the prisma admin page at: http://localhost:5555