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
Stop Spamming Reddit for MRR. It’s Killing Your Brand (You need Claude Code for BuildInPublic instead) User Avatar 197 comments What happened after my AI contract tool post got 70+ comments User Avatar 169 comments Where is your revenue quietly disappearing? User Avatar 61 comments The workflow test for finding strong AI ideas User Avatar 43 comments The Quiet Positioning Trick Small Products Use to Beat Bigger Ones User Avatar 40 comments a16z says "these startups don't exist yet - it's your time to build." I've been building one. User Avatar 30 comments