Skip to content

dsypasit/borrow-project-backend

Repository files navigation

borrow-project-backend

เหลือสร้าง schema และสร้าง api ของ

  • admin
  • type

Prerequisite

  • docker
  • docker compose
  • nodejs v.14+
  • make (optional)

... or you need to use your db server. you can config at .env then docker is optional.

start this project

# run db first
docker compose up -d
npm run migrate 
npm run start

how to run db

  • start
make up # for linux
docker compose up -d # any
  • stop
make down # for linux
docker compose down # any

update schema

Could config schema at prisma/schema.prisma and run

npm run migrate

how to test api with postman

  • import borrow-project.postman_collection.json to postman
  • create env

image

  • select env

image

  • run it

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages