This API is built with Express, Typescript and Prisma ORM
- Clone the repo
git clone [email protected]:PasHdez/fitnessout.api.git
- Install node modules
npm i
- Rename
.env.development.local.example
to.env.development.local
- Rename
.env.example
to.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.prisma
to remove/add tables or columns - Run
npm run prisma:migrate
- Type a name for the migration
- Run
npm run prisma:generate
TBD
TBD