An open API service indexing awesome lists of open source software.

https://github.com/artslimedev/cookbook

This is a cookbook recipe app built using Next.js, Typescript, and Supabase with Postgresql
https://github.com/artslimedev/cookbook

nextjs15 postgresql relational-database shadcn-ui supabase tailwindcss typescript

Last synced: 3 months ago
JSON representation

This is a cookbook recipe app built using Next.js, Typescript, and Supabase with Postgresql

Awesome Lists containing this project

README

          

# ๐Ÿฝ๏ธ Slime Cookbook

Cookbook is a modern, full-stack recipe app built with **Next.js**, **TypeScript**, **Tailwind CSS**, **Supabase**, **PostgreSQL**, and **ShadCN UI**. Itโ€™s designed to offer a beautiful, responsive interface for browsing, searching, and saving recipes.

---

## ๐Ÿ“ท Screenshots

![Recipe Page](public/images/screenshots/Recipe.png)

---

## โœจ Project Summary

The goal of Cookbook is to make exploring and managing recipes feel as delightful as cooking itself. Users will be able to:

- ๐Ÿ” Sign up and log in securely
- ๐Ÿงพ Add, view, and edit their own recipes
- ๐Ÿ” Search recipes by keyword or category
- ๐Ÿ—‚ Organize recipes using custom tags/categories
- ๐Ÿ“ฑ Access the app on web and (eventually) iOS

---

## ๐Ÿšง Current Status

Currently a web-only experience, the UI is being styled using Tailwind and ShadCN, and the structure for authentication and recipe storage via Supabase/PostgreSQL is in progress. The roadmap includes an iOS version using either **React Native** or **Flutter**, and eventual integration of **GoLang** for backend logic.

---

## ๐Ÿ”ฎ Planned Features

- ๐Ÿ” User authentication via Supabase
- ๐Ÿงพ Add and edit personal recipes
- ๐Ÿ” Full-text search
- ๐Ÿท๏ธ Filter by categories
- ๐Ÿ“š Support for complex recipes (e.g., multi-part ingredients)
- ๐Ÿ“ฑ Native iOS app using React Native or Flutter (TBD)
- ๐Ÿง  GoLang backend for optimized APIs (future)

---

## ๐Ÿงฐ Tech Stack & Why Itโ€™s Used

Here's a quick breakdown of the technologies used and why they were chosen:

### ๐Ÿง‘โ€๐Ÿ’ป TypeScript

Strongly typed JavaScript helps catch bugs early, improves developer experience, and makes code easier to maintain as the project grows.

### โš›๏ธ Next.js

A powerful React framework for building fast, SEO-friendly web apps. Its file-based routing and support for server-side rendering (SSR) make it ideal for scalable content-based applications like a recipe app.

### ๐ŸŽจ Tailwind CSS

Utility-first CSS framework that speeds up styling and keeps the codebase clean. It enables rapid UI development without constantly writing custom CSS classes.

### ๐Ÿงฉ ShadCN/UI

Beautifully designed components built on top of Tailwind CSS. They help create consistent, polished UI elements without starting from scratch.

### ๐Ÿ˜ PostgreSQL

A robust, relational database system that supports complex queries and relationships โ€” perfect for managing structured recipe data (ingredients, steps, categories, etc.).

### ๐Ÿงƒ Supabase

An open-source Firebase alternative. It handles authentication, database access, and real-time subscriptions out of the box, making it easy to spin up secure full-stack features fast.

---

## ๐Ÿ” What Makes This Setup Better

- **Next.js App Router**: Enables modern layout composition, route-based loading, and colocation of logic with components.
- **TypeScript** ensures fewer bugs and stronger collaboration through clearer contracts.
- **Supabase** cuts down on boilerplate for auth, DB, and file storage โ€” and it works seamlessly with PostgreSQL.
- **Tailwind + ShadCN** means pixel-perfect design, fast iteration, and a professional look with minimal custom CSS.

---

## ๐Ÿงช Local Development

```bash
# 1. Clone the repo
git clone https://github.com/artslimedev/cookbook.git
cd cookbook

# 2. Install dependencies
npm install

# 3. Create .env.local and add your Supabase credentials
NEXT_PUBLIC_SUPABASE_URL=your-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-key

# 4. Run the dev server
npm run dev
```