Skip to content

Halo-Lab/next-supabase-todo

Repository files navigation

Next.js + Supabase Todo App

A simple Todo application built using Next.js and Supabase.

Features

  • Authentication: User login and registration powered by Supabase Auth.
  • Database: Store and manage todos using Supabase's Postgres database.
  • Real-time Updates: Changes to todos sync in real-time.
  • Next.js API Routes: Backend logic handled within the Next.js API layer.
  • Tailwind CSS: Modern styling with utility-first CSS framework.

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Halo-Lab/next-supabase-todo.git
    cd next-supabase-todo
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Copy .env.example to .env.local:
      cp .env.example .env.local
    • Update .env.local with your Supabase credentials:
      NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
      NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
  4. Run the development server:

    npm run dev

    The app will be available at http://localhost:3000.

Deployment

This application can be deployed on platforms like Vercel, Netlify, or any provider supporting Next.js.

Deploy to Vercel

  1. Install the Vercel CLI:
    npm install -g vercel
  2. Deploy:
    vercel

Contributing

Feel free to submit issues and pull requests. Contributions are welcome!

License

This project is open-source and available under the MIT License.

Releases

No releases published

Packages

No packages published