I just open sourced my Firebase + React + TypeScript reusable webapp template

I just open sourced my Firebase + React + TypeScript reusable webapp template. I use this template for quickly setting up new firebase webapps w/ email + google authentication. Helps me bootstrap new webapps super fast, so figured it might be a good resource for other react + firebase devs.

Github: https://github.com/BenBrewerBowman/firebase-react-typescript-project-template

Demo: https://frt-project-template.firebaseapp.com/

Has a few design choices out of the box (Material UI, react-use-object-state), but feel free to rip those out and replace with your own.

Currently it only offers email + google auth, but in the future I'm planning on adding Apple, Github, and Microsoft auth options.

I also might add some Stripe auth to it soon as well.

README.md will be improved this week and code will continue being cleaned up.

Feel free to fork, star, ask, or request. Also let me know if buggy, I just set it up for the first time.

Cheers homies,

  1. 3

    sweet! taking a look!

  2. 2

    How do you like Typescript over JavaScript for such type of (Lean) projects?

    1. 2

      After writing exclusively both JS + TS each for 2+ years I can say without a doubt that I don't think I can go back to writing JS ever again. I view TS as the best linter I could possibly have. Going back and migrating older projects from JS to TS, I have found hundreds of bugs that I never would found until they pop up for a user. Even seemingly small functions enjoy the same benefit. TS also manages all of your imports, so writing codes is much faster and refactors are a breeze.

      I used to view TS as "just another technology" to learn, and threw it on the pile along with a bunch of other tech tools that "I'll get around to learning" at some point. After learning it however, I would 100% recommend TS over JS for any size project as it has become indispensable. If you start writing TS I guarantee you will never go back.

  3. 2

    Thanks for sharing 😊

  4. 1

    Awesome job! Thank you ben.

  5. 1

    I hate Firebase with a passion

Trending on Indie Hackers
AMA! I’ve started self-funded and VC-backed SaaS businesses since 2003 including Crazy Egg, KISSmetrics, and Nira. Investor in 200+ others. 34 comments I co-founded Tally — a new type of form builder 1 year ago and bootstrapped it to $30k ARR with a team of 2. AMA! 26 comments How we got our first paying user within a week of adding payments 7 comments We Built AppSumo’s Partner Experience Team from Scratch (Here’s How It Happened) 6 comments How I sold my no-code GPT-3 bubble app: virtual ghost writer 6 comments I’m growing a newsletter on ⚡️ Hotwire dev! 5 comments