This project includes:
- A responsive React frontend (Tailwind CSS)
- A Python FastAPI backend
- SQLite database seeded from a mock JSON file
- Node.js (for the frontend)
- Python 3.9+ (for the backend)
- Open a terminal in
backend/ - Install:
pip install -r requirements.txt - Start:
uvicorn app:app --reload --port 8000
On first run, the backend creates recipes.db and seeds it from data/mock_recipes.json.
- Open a terminal in
frontend/ - Install:
npm install - Start:
npm run dev
Then open the URL shown in the terminal (usually http://localhost:5173).
GET /api/recipesGET /api/recipes?category=BreakfastGET /api/recipes/{recipe_id}GET /api/categories