This project is created in educational purpose to learn
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
npm run prisma:generate
to generate new client and types.npx prisma migrate dev --name --migration-name --create-only
to create new migration file.npm run prisma:migrate
to apply new migration.! Do not forget to create migrations after schema changes.