984 B
984 B
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.).
- Initialize Next.js app (
- Create
docker-compose.ymlfor orchestration.- Define backend service.
- Define frontend service.
- Define database service (PostgreSQL).
- Verify local development environment runs.
Acceptance Criteria
docker-compose upstarts all services.- Frontend is accessible at localhost:3000.
- Backend API is accessible at localhost:8000.