elmeg-demo/.specify/tasks/00_project_setup.md

24 lines
984 B
Markdown

# Task: Project Setup
## Objective
Initialize the repository with the necessary boilerplate for a monorepo structure (or separate directories) containing the Backend (Python/FastAPI) and Frontend (Next.js).
## Steps
- [ ] Initialize git repository (if not already done).
- [ ] Create `backend/` directory.
- [ ] Initialize Python environment (poetry or venv).
- [ ] Install FastAPI, Uvicorn.
- [ ] Create basic `main.py` "Hello World".
- [ ] Create `frontend/` directory.
- [ ] Initialize Next.js app (`npx create-next-app`).
- [ ] Install basic dependencies (Tailwind, Lucide, etc.).
- [ ] Create `docker-compose.yml` for orchestration.
- [ ] Define backend service.
- [ ] Define frontend service.
- [ ] Define database service (PostgreSQL).
- [ ] Verify local development environment runs.
## Acceptance Criteria
- `docker-compose up` starts all services.
- Frontend is accessible at localhost:3000.
- Backend API is accessible at localhost:8000.