3
2 Comments

Next.js Firebase Auth starter kit?

Hey there makers 👋🏼.

I am about to start a new SaaS project with subscriptions, users, etc.

My stack is going to be;

  • Next.js FE
  • PostgreSQL
  • TypeORM / Node.js BE
  • Firebase Auth to handle the auth on the FE and the calls in the BE

I'd love to see if anyone has gotten a great starter kit to handle the FE part with Next.js and Firebase Auth.

I tried https://github.com/colinhacks/next-firebase-ssr a while back but I found it a bit flaky (sometimes the token was expired when refreshing the page, kicking the user back to the login screen).

Anyone got a good lead I can chase?

posted to Icon for group Developers
Developers
on February 3, 2021
  1. 1

    Use https://blitzjs.com/ for Next.js with Auth & Postgres support. It will save ton of time for sure. Although it does not support firebase, you can use this awesome hook. Using just one page, Firebase Auth can be handled easily. https://usehooks.com/useAuth/

    1. 2

      Hey man! It looks fantastic–but I feel like there's way too much stuff happening there that I am not on top of. I have actually decided to start creating a boilerplate to handle the basics I need.

      I'll share the tutorials once it's ready on my Medium publication.

Trending on Indie Hackers
I built something that helps founders turn user clicks into real change 🌱✨ User Avatar 32 comments I built a text-to-video AI in 30 days. User Avatar 31 comments You don't need to write the same thing again User Avatar 29 comments I built an Image-to-3D SaaS using Tencent's Hunyuan 3D AI User Avatar 25 comments The Era of Malleable SaaS: Is This the End of "Opinionated Software"? User Avatar 17 comments Let’s Talk: What’s Missing in Today’s App Builders? User Avatar 17 comments