3
0 Comments

Pivot

A reflection on the https://softwareengineeringboss.com/ platform.

TL;DR
The frontend was super easy.
The backend was super hard. Tech isn't ready.
The platform is coming offline. Going to use Gumroad instead.
Later, when I get the tech working for me instead of against me, I'll revisit serverless functions.

The frontend was built with Gatsby, React, and Styled Components. BDD with Cypress and Cucumber folded in very nicely. Even though I have around 50 components, everything was easy and straightforward to build. I could have had hundreds of components and everything would remain well organized and easy to change, i.e. scalable.

The backend, on the other hand, is composed of just 3 simple functions. One to create a stripe checkout session, one to receive a webhook from Stripe when the customer buys a course, and one to give the user access to all the courses he has purchased. Albeit simple, building these 3 functions was an absolute pain.

They can only be accessed by logged-in users and they need access to SSM secrets to access Stripe's API. Amplify does not offer us a way to get this context locally for local testing and it doesn't allow us to upload the functions and test them in the cloud quickly either. The cycle time for "change and test" with Amplify was about 8 minutes, which makes development extremely slow.

I've tested serverless and they do provide a way to quickly upload and invoke a function in the cloud while getting the logs in real-time, which is great. I think Amplify should adopt this. But the trouble with serverless is that it also forces us to learn all the low-level complexity of CloudFormation templates, which defeats the purpose of using such a framework.

So, because serverless functions remain hard to develop, and I want to roll out these courses sooner rather than later, I will pivot.

I will focus on getting the courses out and use Gumroad as my platform. And when I find a way to implement BDD and short dev cycles for serverless functions, I will revisit them.

PS: I've considered a full-blown express server, but the costs of development and the server don't justify it. I might as well use Gumroad for now and jump to serverless later.

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