Files
ai-meal-planning/README.md
2025-08-11 22:24:24 -05:00

835 B

Meal AI Starter (Vite + React)

Quick start

  1. Install dependencies
npm install
  1. Start the mock server (this simulates your AI endpoint)
npm run start:server
  1. In another terminal, run the frontend dev server
npm run dev
  1. 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.