681 B
681 B
7. Development Workflow
- Initial Setup:
- Clone the repository.
- Create a
.envfile with theDATABASE_URL. - Run
docker-compose up -d --buildto start the PostgreSQL container and the Nuxt development server.
- Schema Changes:
- Modify
prisma/schema.prisma. - Run
npx prisma migrate dev --name <migration-name>to apply changes to the running database. Prisma Client will be auto-generated.
- Modify
- Development:
- Develop Vue components in the
app/directory. - Develop API endpoints in the
server/api/directory. - The Nuxt dev server will provide hot-reloading for both frontend and backend changes.
- Develop Vue components in the