A mobile-friendly web application that captures, parses, and stores recipes from multiple sources including URLs, PDFs, and images.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── recipes.ts # Recipe CRUD operations
│ │ └── parse.ts # Recipe parsing endpoints
│ └── index.ts # Main API entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── RecipeForm.tsx # Recipe input form
│ │ ├── RecipeList.tsx # Recipe listing
│ │ └── RecipeView.tsx # Individual recipe display
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared TypeScript types
POST /api/parse/url
- Parse recipe from URLPOST /api/parse/pdf
- Parse recipe from PDFPOST /api/parse/image
- Parse recipe from imageGET /api/recipes
- Get all recipesPOST /api/recipes
- Save a recipeGET /api/recipes/:id
- Get specific recipePUT /api/recipes/:id
- Update recipeDELETE /api/recipes/:id
- Delete recipe