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
You roasted my MVP. I listened. Here is v1.3 (Crash-proof & 100% Local) User Avatar 16 comments Post-launch lesson: traffic came, activation didn’t User Avatar 10 comments Why I built a 'dumb' reading app in the era of AI and Social Feeds User Avatar 9 comments I Stopped Browsing Reddit Randomly. Here's the Keyword Monitoring System That Actually Gets Me Customers. User Avatar 8 comments Building a daily selfie app with AI video generation User Avatar 6 comments For indie hackers: Outsource marketing or do it yourself? User Avatar 3 comments