DEV Community

Abhishek Choudhury
Abhishek Choudhury

Posted on

Made FOSS for simplifying NextJS dev with OAuth And Postgres

Setting up authentication and database connections in a new web application can be time-consuming and suck a lot of time. After building several Next.js projects, I noticed I was repeatedly writing the same boilerplate code. That's why I created this template app, to help developers jump straight into building their core features instead of spending days on initial setup.

What's Included?

The template comes with everything you need to start a production-ready Next.js application:

  • Authentication ready with Google and GitHub login
  • Database setup with Prisma and PostgreSQL
  • Modern UI components from shadcn/ui
  • Clean, responsive design with Tailwind CSS

Why Use This Template?

1. Save Development Time

Instead of spending days setting up authentication and database connections, you can have a working application in minutes. The template handles all the complex configurations, letting you focus on what matters – building your unique features.

2. Production-Ready Architecture

Built with Next.js 15's App Router, the template follows modern best practices for performance and security. It's not just a demo – it's ready for your production applications.

3. Modern Developer Experience

TypeScript for better development experience, Prisma for type-safe database queries, and Tailwind CSS for rapid styling. Everything is configured to work together seamlessly.

Getting Started

Getting started is simple:

  1. Clone the repository
  2. Add your environment variables
  3. Run npm install
  4. Run database migrations
  5. Start developing!

What's Next?

The template is actively maintained, with new features in the pipeline:

  • Email integration for notifications
  • Docker support for easier deployment
  • Built-in notification system

Try It Out

The template is all time free and open source. Check it out on GitHub: Next.js Authentication Template

Give it a star if you find it useful, and feel free to contribute or suggest improvements! I already have a few items on the roadmap for this, help me figure out more by creating feature request in the repo.


Building something cool with this template? I'd love to hear about it! Find me on GitHub @yesabhishek

Top comments (0)