Context for AI agents working on this project.
Frontend: Vite + React Backend: FastAPI (Python) Port: 5173 (Frontend), 8001 (Backend)
Tech Stack:
- React 18 with Vite
- Tailwind CSS
- TypeScript
- FastAPI
- Python 3.11+
- SQLAlchemy (optional)
frontend/
├── src/
│ ├── App.tsx # Main app
│ ├── main.tsx # Entry point
│ ├── components/ # Reusable components
│ └── pages/ # Page components
└── vite.config.ts # Vite config
backend/
├── main.py # FastAPI app
├── requirements.txt # Dependencies
├── api/ # API routes
├── models/ # Database models
└── services/ # Business logic
Start Command:
# Backend
cd backend && pip install -r requirements.txt && uvicorn main:app --host 0.0.0.0 --port 8001 --reload &
# Frontend
cd frontend && npm install && npm run dev -- --host 0.0.0.0 --port 5173Production Build:
cd frontend && npm run build