An all-in-one nutrition intelligence platform with AI-powered reasoning, 6M+ verified foods, campus dining integration, and precision macro tracking.
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build- Push this repo to GitHub
- Go to Cloudflare Dashboard → Pages
- Click "Create a project" → "Connect to Git"
- Select your repository
- Configure build settings:
- Build command:
npm run build - Build output directory:
dist
- Build command:
- Click "Save and Deploy"
# Build the project
npm run build
# Install Wrangler CLI
npm install -g wrangler
# Deploy to Cloudflare Pages
wrangler pages deploy dist- React - UI framework
- Vite - Build tool
- React Router - Client-side routing
- Cloudflare Pages - Hosting & global CDN
src/
├── components/ # Reusable components (Header, Footer)
├── pages/ # Page components (Home, About, etc.)
├── App.jsx # Main app with routing
├── main.jsx # Entry point
└── index.css # Global styles
public/
└── _redirects # SPA routing config for Cloudflare
- Single Page Application (SPA) with client-side routing
- Dark/Light theme toggle with localStorage persistence
- Fully responsive design
- Optimized for Cloudflare Pages edge network
- Privacy-first: No tracking, no cookies, no data collection
Open source - feel free to use and modify!