A full-stack application. Crawls and scrapes the internet for all the cake recipies & displays them cleanly on the web.
βββ cake_scraper/ # Python Scrapy backend
β βββ cake_scraper/ # Scrapy spider and pipelines
β βββ data/ # Scraped recipe data (JSON)
βββ frontend/ # React + TypeScript frontend
βββ src/ # React components and pages
βββ public/ # Static assets
A Scrapy-based web scraper that extracts cake recipes and uses OpenAI to structure the data.
cd cake_scraper
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Create .env file with your OpenAI API key
echo "OPENAI_API_KEY=your_key_here" > .env
# Run the scraper
scrapy crawl liv_cakesScraped recipes are saved to cake_scraper/data/ in JSON format with:
- Recipe name (English & Swedish)
- Ingredients (US & Metric)
- Steps (English & Swedish)
A React + Vite + TypeScript application built with shadcn/ui and Tailwind CSS.
cd frontend
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build- Vite
- React 18
- TypeScript
- shadcn/ui
- Tailwind CSS
- React Router
- TanStack Query
- Run the scraper to collect recipe data
- The frontend reads from the JSON files in
cake_scraper/data/ - Start the frontend dev server to view recipes
- Backend: Run scraper on schedule (cron job, GitHub Actions, etc.)
- Frontend: Deploy to Vercel, Netlify, or any static hosting
MIT