https://github.com/halo-lab/next-supabase-todo
Todo app with Next.js and Supabase
https://github.com/halo-lab/next-supabase-todo
Last synced: 12 months ago
JSON representation
Todo app with Next.js and Supabase
- Host: GitHub
- URL: https://github.com/halo-lab/next-supabase-todo
- Owner: Halo-Lab
- Created: 2025-01-28T13:35:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T10:57:54.000Z (over 1 year ago)
- Last Synced: 2025-03-03T04:16:40.699Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://next-supabase-todo-ten.vercel.app/
- Size: 362 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [Node.js](https://nodejs.org/) installed.
- [Supabase account](https://supabase.com/) with a configured project.
### Installation
1. Clone the repository:
```bash
git clone https://github.com/Halo-Lab/next-supabase-todo.git
cd next-supabase-todo
```
2. Install dependencies:
```bash
npm install
```
3. Set up environment variables:
- Copy `.env.example` to `.env.local`:
```bash
cp .env.example .env.local
```
- Update `.env.local` with your Supabase credentials:
```env
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
```
4. Run the development server:
```bash
npm run dev
```
The app will be available at [http://localhost:3000](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:
```bash
npm install -g vercel
```
2. Deploy:
```bash
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.