Skip to content

Latest commit

Β 

History

History
97 lines (72 loc) Β· 2.05 KB

File metadata and controls

97 lines (72 loc) Β· 2.05 KB

🍳 Resepi KhairulAming

Harini kita nak buat...

A modern recipe collection web app featuring delicious recipes from Malaysian TikTok chef KhairulAming.

✨ Features

  • πŸ” Smart search across recipes
  • πŸ“± Responsive design for all devices
  • πŸŽ₯ Embedded TikTok cooking videos
  • ⚑ Fast performance with Next.js 15

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • Supabase account

Setup

  1. Clone and install:

    git clone https://github.com/danishayman/resepi-kharulaming.git
    cd resepi-kharulaming
    npm install
  2. Setup Supabase:

    • Create a project at Supabase
    • Run SQL from SQL/sql_definition.sql
    • Get your project URL and anon key
  3. Configure environment:

    cp .env.example .env.local

    Add to .env.local:

    NEXT_PUBLIC_SUPABASE_URL=your_project_url
    NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
  4. Start development:

    npm run dev

    Visit http://localhost:3000

πŸ› οΈ Tech Stack

  • Next.js 15 - React framework
  • TypeScript - Type safety
  • Tailwind CSS - Styling
  • Supabase - Database and backend

πŸ“ Project Structure

app/
β”œβ”€β”€ page.tsx          # Homepage with recipe grid
β”œβ”€β”€ layout.tsx        # Root layout
└── resepi/[slug]/    # Recipe detail pages

components/
β”œβ”€β”€ RecipeCard.tsx    # Recipe cards
β”œβ”€β”€ SearchBar.tsx     # Search functionality
└── TikTokEmbed.tsx   # Video embeds

lib/
β”œβ”€β”€ supabase.ts      # Database client
β”œβ”€β”€ types.ts         # TypeScript types
└── utils.ts         # Utilities

πŸš€ Deployment

Deploy to Vercel:

  1. Push to GitHub
  2. Import project at vercel.com
  3. Add environment variables
  4. Deploy!

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

πŸ“„ License

MIT License - see LICENSE for details.


Made with ❀️ for food lovers everywhere