A modern, full-stack todo list application built with Next.js 14, TypeScript, Tailwind CSS, and Supabase.
- ✅ Add new todos
- ✅ Mark todos as complete/incomplete
- ✅ Edit existing todos
- ✅ Delete todos
- ✅ Real-time updates with Supabase
- ✅ Responsive design with Tailwind CSS
- ✅ TypeScript for type safety
- Frontend: Next.js 14, React, TypeScript
- Styling: Tailwind CSS
- Database: Supabase (PostgreSQL)
- Icons: Lucide React
- Deployment: Vercel
- Node.js 18+
- npm or yarn
-
Clone the repository
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env.local
Fill in your Supabase credentials.
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
The application uses a simple todos table with the following structure:
CREATE TABLE todos (
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
title TEXT NOT NULL,
completed BOOLEAN DEFAULT FALSE,
created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
updated_at TIMESTAMP WITH TIME ZONE DEFAULT NOW()
);This application is deployed using Vercel and connected to Supabase for the database.
MIT License