Prisma API with basic CRUD for posts
npm dev-setup
This command: 1.Downloads the postgres image (Docker is required) 2.Creates the container 3.Generate the DB schema 4.Populate DB with seed
npm run docker:run:postgres
Creates schema.prisma
npx prisma init
Generates Prisma Client (TS library with type-sage db access) based on Prisma Schema
npx prisma generate
Updates DB schema to match Prisma Schema
npx prisma db push
Opens GUI for Database
npx prisma studio
npm run seed
npm run build && npm run dev
npm run test
docker build -t scheduler-api .
docker run -p 3001:3001 scheduler-api
docker run -it --entrypoint sh scheduler-api
This README was generated with โค๏ธ by readme-md-generator