A REST+JSON API service
-
Install required packages:
npm install -
Copy
.env.developmentto.envand edit it with your settings. -
Create new migration based on the schema changes
npx prisma migrate dev --name SPECIFY NAME -
Build DB from scratch - Run migrations and seed the data
npx prisma migrate reset --preview-feature -
Seed the database data when DB already is up to date
npx prisma db seed