Harini kita nak buat...
A modern recipe collection web app featuring delicious recipes from Malaysian TikTok chef KhairulAming.
- 🔍 Smart search across recipes
- 📱 Responsive design for all devices
- 🎥 Embedded TikTok cooking videos
- ⚡ Fast performance with Next.js 15
- Node.js 18+
- Supabase account
-
Clone and install:
git clone https://github.com/danishayman/resepi-kharulaming.git cd resepi-kharulaming npm install -
Setup Supabase:
- Create a project at Supabase
- Run SQL from
SQL/sql_definition.sql - Get your project URL and anon key
-
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
-
Start development:
npm run dev
Visit http://localhost:3000
- Next.js 15 - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- Supabase - Database and backend
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
Deploy to Vercel:
- Push to GitHub
- Import project at vercel.com
- Add environment variables
- Deploy!
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE for details.
Made with ❤️ for food lovers everywhere