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

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay