Skip to content

MatthewKim07/chef-it

Repository files navigation

Chef It

Chef It

scan. cook. enjoy.

Smart recipes from what you already have.

Swift SwiftUI Xcode Node.js PostgreSQL License

Hackathon Platform


πŸ“– About

Chef It is a native iOS app that turns whatever's sitting in your fridge into dinner. Snap a photo of your pantry, let on-device + cloud vision detect every ingredient, and get instant AI-matched recipes you can actually cook right now β€” no extra grocery run required.

Built end-to-end in 36 hours at ConHacks 2026 πŸ†.

Less food waste. Less decision fatigue. More cooking.


✨ Features

  • πŸ“Έ Pantry Scanning β€” Computer-vision ingredient detection from a single photo
  • 🧠 Smart Matching β€” Recipe scoring engine ranks suggestions by what you already own
  • πŸ₯¬ Ingredient Intake β€” Manual add, undo, rename, smart suggestions, persistent store
  • 🍳 Recipe Discovery β€” Edamam-powered search + curated seed recipes
  • ❀️ Favorites & Saved β€” Persistent recipe library across sessions
  • πŸ›’ Shopping List β€” Auto-generated for missing ingredients
  • πŸ‘¨β€πŸ³ Cooking Mode β€” Step-by-step guided cooking flow
  • 🌐 Social Feed β€” Share dishes, comment, review, build a community
  • πŸ” Auth β€” Email, Google Sign-In, Apple Sign-In
  • πŸ”” Notifications β€” Engagement + cooking reminders

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  iOS App  (SwiftUI Β· iOS 17+)               β”‚
β”‚  └─ App/ChefIt/                             β”‚
β”‚     screens Β· navigation Β· design tokens    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  ChefItKit  (SwiftPM library)               β”‚
β”‚  └─ Sources/ChefItKit/                      β”‚
β”‚     β€’ Features/   Scan Β· Auth Β· Recommend   β”‚
β”‚     β€’ Services/   Edamam Β· Vision Β· Auth    β”‚
β”‚     β€’ Matching/   RecipeMatcher Β· Scoring   β”‚
β”‚     β€’ Models/     Ingredient Β· Recipe       β”‚
β”‚     β€’ Normalization/  IngredientNormalizer  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Backend  (Node.js Β· Express Β· PostgreSQL)  β”‚
β”‚  └─ backend/                                β”‚
β”‚     auth Β· users Β· posts Β· reviews Β·        β”‚
β”‚     comments Β· Cloudinary uploads           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Tech Stack

πŸ“± iOS

  • Swift 5.10
  • SwiftUI (iOS 17+)
  • Swift Package Manager
  • XcodeGen
  • VisionKit / Core ML
  • Google Sign-In SDK
  • Sign in with Apple

🌐 Backend

  • Node.js + Express
  • PostgreSQL
  • JWT auth
  • bcrypt
  • Google OAuth
  • Cloudinary (image hosting)
  • Multer

πŸ€– AI / Data

  • Edamam Recipe API
  • OpenAI Vision API
  • Google Gemini
  • Custom recipe scoring
  • Ingredient normalizer

πŸš€ Getting Started

Prerequisites

  • macOS with Xcode 15+
  • xcodegen: brew install xcodegen
  • Node.js 18+ and PostgreSQL 16
  • Edamam API key (sign up)

iOS App

git clone https://github.com/MatthewKim07/chef-it.git
cd chef-it

# Fill in API keys
cp Secrets.xcconfig.template Secrets.xcconfig

# Generate the .xcodeproj (gitignored)
xcodegen generate

# Build & test from CLI
swift build
swift test

# Or open in Xcode
open ChefIt.xcodeproj

Required keys in Secrets.xcconfig:

EDAMAM_APP_ID         = your_id
EDAMAM_APP_KEY        = your_key
GOOGLE_CLIENT_ID      = your_google_oauth_id
GEMINI_API_KEY        = optional
OPENAI_API_KEY        = optional
AUTH_BASE_URL         = http://127.0.0.1:3000

Backend

cd backend
npm install
cp .env.example .env       # fill in DB + JWT + OAuth secrets
npm run schema             # init PostgreSQL schema
npm run dev                # localhost:3000

⚠️ After every git pull or branch switch, re-run xcodegen generate. The .xcodeproj is gitignored.


πŸ“‚ Project Structure

chef-it/
β”œβ”€β”€ App/ChefIt/                  # SwiftUI app β€” screens, navigation, theme
β”œβ”€β”€ Sources/ChefItKit/           # Core library (SwiftPM)
β”‚   β”œβ”€β”€ Features/                # Scan Β· Auth Β· Recommendations
β”‚   β”œβ”€β”€ Services/                # Edamam Β· Vision Β· Auth Β· Posts Β· Reviews
β”‚   β”œβ”€β”€ Matching/                # Recipe scoring engine
β”‚   β”œβ”€β”€ Models/                  # Ingredient Β· Recipe Β· ScanResult
β”‚   β”œβ”€β”€ Normalization/           # IngredientNormalizer Β· ProteinDetector
β”‚   └── SeedData/                # 17 starter recipes
β”œβ”€β”€ Tests/ChefItKitTests/        # XCTest suite
β”œβ”€β”€ backend/                     # Node + Express + Postgres API
β”‚   β”œβ”€β”€ routes/                  # auth Β· users Β· posts Β· reviews
β”‚   └── src/                     # entry Β· db Β· schema
β”œβ”€β”€ docs/                        # Flow diagrams + asset library
β”œβ”€β”€ CHEFIT_BRAND_GUIDELINES.md   # Visual identity reference
β”œβ”€β”€ Package.swift                # SwiftPM manifest
└── project.yml                  # XcodeGen config

🎨 Brand

Chef It has a full design system β€” sage greens, peach CTAs, rounded everything, Playfair Display + Nunito. See CHEFIT_BRAND_GUIDELINES.md for the complete reference.

Sage Green Matcha Pistachio Cream Peach Honey
#4C5A3E #A8C5A1 #E8F0E3 #FFF7E8 #FFB79D #FFD26F

πŸ‘¨β€πŸ³ The Chefs

Seasoned with love at ConHacks 2026 by:

Matthew Kim
Matthew Kim

🧠 AI · Vision · Pantry Detection
Soroush Khajehpour
Soroush Khajehpour

🎨 iOS UI · SwiftUI · Design
Ali Husseini
Ali Husseini

βš™οΈ Backend Β· Database Β· Recipe API

πŸ† ConHacks 2026

Chef It was built in 36 hours at ConHacks 2026 β€” Conestoga College's flagship hackathon.


πŸ“œ License

MIT β€” see LICENSE.


Made with πŸ₯‘, β˜•, and zero sleep.

scan. cook. enjoy. ❀️

About

An AI-assisted iOS cooking app that turns pantry ingredients into recipes, meal planning, and shopping workflows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors