Files
SYSTEM/docs/architecture/development-workflow.md
2025-09-01 01:52:06 +03:00

681 B

7. Development Workflow

  1. Initial Setup:
    • Clone the repository.
    • Create a .env file with the DATABASE_URL.
    • Run docker-compose up -d --build to start the PostgreSQL container and the Nuxt development server.
  2. 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.
  3. 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.