Project description
Just take a picture of your refrigerator and you can instantly search for your dinner recipe.
Features
- Take a picture of the ingredients in the refrigerator
- Upload a photo and food ingredients are automatically detected by AI
- Unwanted ingredients can be manually selected from the detected materials
- Search for recipes from cookpad based on the selected ingredients
- View the recipe and ingredients in detail
Tech stack
Frontend
- React
- Vite
- Tanstack Router
- Tailwind CSS
Backend
- Hono
- Vercel AI SDK
- Drizzle ORM
- Auth.js
- cheerio
Deployment
- Cloudflare Pages
- Cloudflare Workers
- Cloudflare D1
- Cloudflare AI Gateway
Development
install dependencies
pnpm i
create environment files
cp apps/frontend/.env.local.example apps/frontend/.env.local
cp apps/backend/.dev.vars.example apps/backend/.dev.vars
run dev server
pnpm dev
check format and lint
pnpm check
format and lint fix
pnpm fix
typecheck
pnpm typecheck