A simple Todo application built using Next.js and Supabase.
- 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.
- Node.js installed.
- Supabase account with a configured project.
-
Clone the repository:
git clone https://github.com/Halo-Lab/next-supabase-todo.git cd next-supabase-todo
-
Install dependencies:
npm install
-
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
- Copy
-
Run the development server:
npm run dev
The app will be available at http://localhost:3000.
This application can be deployed on platforms like Vercel, Netlify, or any provider supporting Next.js.
- Install the Vercel CLI:
npm install -g vercel
- Deploy:
vercel
Feel free to submit issues and pull requests. Contributions are welcome!
This project is open-source and available under the MIT License.