Skip to content

Full-stack SaaS app with to-do lists, Pomodoro timers, secure auth, database and payment system. Built with Next.js, React, shadcn/ui, Tailwind CSS, Better Auth, Polar, Drizzle ORM, and Supabase.

License

Notifications You must be signed in to change notification settings

aleksa-codes/nextday-todo-app

Repository files navigation

NextDay Todo App - Full-Stack SaaS Starter

NextDay is more than just a todo app - it's a production-ready starter template for building modern SaaS applications. Built with Next.js 15, it provides a solid foundation with all the essential features you need to kickstart your next SaaS project:

  • 🔒 Authentication with Better Auth
  • 💳 Payments infrastructure with Polar
  • 🔄 CRUD operations with optimistic updates
  • 📊 Database setup with Drizzle ORM
  • 🎯 Credit-based feature gating system
  • 🎨 Polished UI with shadcn/ui components

This project serves as a reference implementation and starting point for future SaaS products. Once you understand how everything works together, you can fork it and adapt it to build your own SaaS ideas quickly.

Why Use This Template?

  • Production Ready: Includes authentication, payments, and database setup
  • Modern Stack: Uses the latest stable versions of Next.js, React, and TypeScript
  • Best Practices: Implements patterns for state management, form handling, and API design
  • Type Safe: Full TypeScript support with strict type checking
  • Developer Experience: Hot reload, ESLint, Prettier configured out of the box

🚀 Features

  • Smart Todo Lists: Create, manage, and organize tasks efficiently
  • Focus Mode: Built-in Pomodoro timer with lofi music integration
  • Real-time Updates: Instant synchronization across devices
  • Modern UI: Clean, responsive interface built with shadcn/ui
  • Dark Mode: Full support for light/dark themes
  • Authentication: Secure user authentication via Better Auth
  • Premium Features: Credit-based system for Pomodoro sessions
  • Payments: Subscription management through Polar

🛠️ Tech Stack

🔒 Authentication

The app uses Better Auth for authentication. Users can:

  • Sign up with email/password
  • Sign in with social providers
  • Reset password
  • Manage their profile

💰 Credits System

  • Users start with 100 free credits
  • Each Pomodoro session costs 20 credits
  • Credits can be purchased through Polar subscriptions

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

About

Full-stack SaaS app with to-do lists, Pomodoro timers, secure auth, database and payment system. Built with Next.js, React, shadcn/ui, Tailwind CSS, Better Auth, Polar, Drizzle ORM, and Supabase.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published