This API is built with Express, Typescript and Prisma ORM
- Clone the repo
git clone git@github.com:PasHdez/fitnessout.api.git - Install node modules
npm i - Rename
.env.development.local.exampleto.env.development.local - Rename
.env.exampleto.env - Gerate Prisma client
npm run prisma:generate - Run Prisma migrations
npm run prisma:migrate - Start development environment
npm run dev
- Start development environment
npm run dev - Attach VS Code debugger to running node.js process
- Modify
schema.prismato remove/add tables or columns - Run
npm run prisma:migrate - Type a name for the migration
- Run
npm run prisma:generate
TBD
TBD