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 Was Picking the Wrong SaaS Tools for Two Years. Here's the Mistake I Finally Figured Out. User Avatar 120 comments Drop your landing page URL. I'll use Ferguson to tell you why visitors might be leaving User Avatar 102 comments Ferguson is LIVE on ProductHunt today... so I audited their homepage first! User Avatar 34 comments I sold $6,773 in 2 weeks, with almost no existing community. User Avatar 29 comments Why Remote Teams Stop Talking (And Don't Even Notice It) User Avatar 24 comments Built a local-first Amazon profit-by-SKU + QuickBooks/Xero journal tool. Looking for founding users. User Avatar 22 comments