initial commit

This commit is contained in:
2025-08-11 22:24:24 -05:00
commit e10c181a89
23 changed files with 5300 additions and 0 deletions

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
# Meal AI Starter (Vite + React)
## Quick start
1. Install dependencies
```bash
npm install
```
2. Start the mock server (this simulates your AI endpoint)
```bash
npm run start:server
```
3. In another terminal, run the frontend dev server
```bash
npm run dev
```
4. Open http://localhost:5173
## Notes
- Replace `server/index.js` with your real AI provider call (OpenAI, Anthropic, or your own) to produce `{"mealPlan":[],"groceryList":[]}` JSON output.
- Grocery lists are saved locally to IndexedDB and visible in the Grocery pane even when offline (PWA cache required).
- For packaging into desktop/mobile, wrap the web build with Tauri/Capacitor/Expo and ship the real server or point to your hosted AI.
That's everything in the starter. Run `npm install`, `npm run start:server`, then `npm run dev` to try it locally.