pretender91 / workout-tracker

0 stars 0 forks source link

Workout Tracker

This project is created in educational purpose to learn

Local development

Requirements

Bootstrap

We are trying to use docker in local dev for consistency and to avoid any local environment issues.

# build container
docker compose -f ./docker-compose.dev.yml build
# run container
docker compose -f ./docker-compose.dev.yml up

but you should anyway to install node modules for IDE intellisense support.

npm isntall
# generate db client and it types
npm run prisma:generate
# run migration
npm run prisma:migrate
# run project
npm run dev

after prisma schema change you should

! Do not forget to create migrations after schema changes.