3
2 Comments

Fireline: Drop-In Firebase + Stripe

I tend to lots of small SaaS apps. They need self-service payments, but they're too small to use Paddle or Chargebee. A "merchant of record" like that is overkill.

I love working with both Firebase and Stripe, so I've written Fireline to mash them up into an easy-to-use set of Cloud Functions and React hooks.

Stripe integrations require server calls, so I've wrapped those up as callable Cloud Functions.

Stripe also supports webhooks for its objects, so Fireline exports a Cloud Function that listens to those webhooks and syncs the data down to Firestore.

The end result is that your Firestore collections stay in sync effortlessly, and you can make server calls from the client via callable functions. The only thing left is to implement your client code!

Fireline also exports a series of React hooks to make client-side integration even easier. Of course, you don't need to use React with Fireline, because the core functionality is all Cloud Functions and webhooks.

Check out my Fireline doc site with a live demo!

Let me know what you think!

  1. 1

    Great work Chris. Eager to start using this now. Will eventually get to it. I'll let you know how I get on.

    1. 1

      Thanks! I've made some fixes and it appears to be useable now :)

Trending on Indie Hackers
I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments How to create a rating system with Tailwind CSS and Alpinejs 7 comments