docs(agile): initialize docs
This commit is contained in:
13
docs/architecture/development-workflow.md
Normal file
13
docs/architecture/development-workflow.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user