A modern, minimal recipe explorer built with React and Vite — includes optional integrations for generative AI-assisted recipe suggestions.
- About
- Features
- Tech stack
- Getting started
- Prerequisites
- Install
- Development
- Build & Preview
- Environment variables (optional)
- Project structure
- Contributing
- License
- Contact
claude-chef is a small React + Vite application for browsing and viewing recipes. The project is structured to be lightweight and easy to extend. It includes components for site header, main listing, and individual recipe views. The repository also contains dependencies for optionally integrating generative AI services (see Environment variables).
- Clean, component-driven React UI
- Fast dev feedback with Vite
- Optional generative AI helper for recipe ideas (via provider SDKs)
- Linting configured with ESLint
- React 19
- Vite
- Tailwind CSS (installed as dependency)
- ESLint
- Optional: Google Generative AI SDKs (dependencies included but usage is opt-in)
- Node.js (recommended v18+)
- npm or Yarn
- Install dependencies:
npm installStart the dev server (Vite):
npm run devThis opens a local server (usually at http://localhost:5173) with fast HMR.
Build for production:
npm run buildPreview the production build locally:
npm run previewRun ESLint across the project:
npm run lintThis project includes client-side SDKs for generative AI as dependencies. If you plan to enable AI features, add your API keys as environment variables. With Vite, prefix runtime client keys with VITE_.
Create a .env file in the project root (do not commit secrets):
# Example (replace with your real key):
VITE_GOOGLE_API_KEY=your_api_key_hereNotes:
- Keep keys secret. Do not commit
.envto source control. - Server-side calls are recommended for production to avoid exposing secrets in browser bundles.
src/
├─ assets/ # images and static assets
├─ components/
│ ├─ Header.jsx
│ ├─ Main.jsx
│ └─ Recipe.jsx
├─ App.jsx
└─ main.jsx
vite.config.js
package.json
README.md
npm run dev— start Vite dev servernpm run build— build production bundlenpm run preview— locally preview production buildnpm run lint— run ESLint
I checked the repo's package.json and these scripts are present.
Contributions are welcome. A suggested small workflow:
- Fork the repo
- Create a feature branch (
git checkout -b feat/your-feature) - Implement and add tests if relevant
- Run linting and ensure dev server works
- Open a pull request with a clear description
Please open issues for feature requests or bugs.
No license file is included in the repository. If you want to make this project open source, consider adding a LICENSE (for example, the MIT license). To add the MIT license, create a LICENSE file with the MIT text.
If you'd like help developing this project further or want implementation suggestions, open an issue or contact the repository owner via the preferred channel listed in the project settings.
Thank you for using claude-chef! Pull requests and feedback are appreciated.
36d348c (first commit)