Hacker News new | ask | show | jobs
by kody 1708 days ago
The last SPA side project I launched was

- Flask + sqlite3 for the backend

- Svelte for the frontend

- nginx

- Hosted on my VPS

I am currently developing my company's MVP with

- FastAPI + Postgres for the backend

- Firebase/Firestore for the {front, back}end

- React + TypeScript for the frontend

- Vercel

My takeaways:

- Svelte clicks with me because it feels like I'm basically writing vanilla JS/HTML/CS. I can get a lot more done in Svelte than React because I don't have to learn so much React-specific syntax

- The downside to Svelte is unit tests are gnarlier

- TypeScript makes me sane

- FastAPI is awesome, very similar to CherryPy. Doesn't try to force you to render server-side HTML like Flask tends to

- Vercel is cool, but I don't like {S,P}AAS deployment when I know I can write my own CI/CD config and just deploy my app where I want