2
0 Comments

Launching support for Python services

To keep the initial MVP of Saasify as focused as possible, we decided early on to only support serverless functions written in TypeScript via FTS.

The main advantages of using TS were 1) authors are very familiar and comfortable with the ecosystem 2) FTS allows devs to just write normal TypeScript without having to worry about encoding, http, or serverless and 3) FTS auto-generates OpenAPI specs for us.

For any language we want to add support for, we need 2 main things:

  1. Ability to host that language on serverless and encode / decode HTTP traffic
  2. Ability to generate an OpenAPI spec from the source file definitions

FastAPI is a really solid open source Python framework that gives us both of these for free with python and imho provides a very solid layer to start supporting python.

Here's an example Python project using FastAPI. If you wanna try out Python with Saasify, select the python template when creating a new project with saasify init.

Thanks!

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