A beautiful task management application built with Next.js and PostgreSQL.
- 🔐 Authentication with Next-Auth
- 📝 Task management
- 🎨 Beautiful UI with dark mode support
- 📱 Responsive design
- 🚀 Fast and performant
- 🔄 Real-time updates
- 📊 Task analytics
- Next.js 14
- React 18
- TypeScript
- Tailwind CSS
- Next-Auth Authentication
- Supabase (PostgreSQL) with Drizzle ORM
- Sonner for toast notifications
- Clone the repository
git clone https://github.com/yourusername/task-master.git
cd task-master- Install dependencies
npm install- Set up environment variables
Create a
.envfile with the following variables:
# Supabase Database Connection
# Get this from: Supabase Dashboard > Project Settings > Database > Connection string
DATABASE_URL=postgresql://postgres:[YOUR-PASSWORD]@[YOUR-PROJECT-REF].supabase.co:5432/postgres
# Or for local PostgreSQL:
# DATABASE_URL=postgresql://tm@localhost:5432/taskmaster
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-nextauth-secret
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret- Set up the database The database schema has already been applied to Supabase. If you're using a local database:
npm run db:generate
npm run db:migrate- Start the development server
npm run dev- Open http://localhost:3000 in your browser
npm run dev- Start the development servernpm run build- Build the application for productionnpm run start- Start the production servernpm run lint- Run ESLintnpm run db:generate- Generate database migrationsnpm run db:migrate- Run database migrationsnpm run db:studio- Open Drizzle Studio
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.