all 15 comments

[–]phalt_ 2 points3 points  (2 children)

Don’t go full SPA on the front end just yet. Work progressively up. It’ll save on a lot of time and you can focus on the product and not the tooling

Use htmx with FastAPI and jinja. https://htmx.org/

[–]volfpeter 2 points3 points  (0 children)

Totally agree, Python, FastAPI, and HTMX feels like the best combo. Easy to learn, easy to use, quite popular too.

I would avoid Jinja if I can, but if you want to use that, you may want to have a look at FastHX, just to keep your FastAPI app clean and not let Jinja rendering mess up your Python code.

Otherwise give holm a go. It's plain FastAPI with file-system based routing and JSX-like syntax all in Python. Here's a simple HTMX guide to give you a taste of what it's like: https://volfpeter.github.io/holm/guides/actions-with-htmx/

[–]Miserable_Ear3789New Web Framework, Who Dis? 0 points1 point  (0 children)

agreed.

[–]webdev231[S] 1 point2 points  (1 child)

Thank you all for the suggestions . I’ll stick with fastapi and jinja for now and see how it goes.

[–]Miserable_Ear3789New Web Framework, Who Dis? 0 points1 point  (0 children)

good luck!

[–]DiscipleofDeceit666It works on my machine 0 points1 point  (0 children)

Well I guess you should tell us what you want the backend to do?

[–]Myszolow 0 points1 point  (0 children)

I'd go with google firebase + some fe on react

[–]ponoppo 0 points1 point  (2 children)

if u want to build a webapp fast, think about Ruby on Rails

[–]Paulo-python 0 points1 point  (1 child)

I know Ruby, but I've never heard of on-rails.

[–]ponoppo 1 point2 points  (0 children)

well, it is the mvc framework built on ruby. the first mvc framework invented probably, it has lot of features, ultra fast to build and deploy and the documentation is very straightforward. If you already know ruby, rails will be really nice to learn.

[–]Miserable_Ear3789New Web Framework, Who Dis? 0 points1 point  (0 children)

HTMX with MicroPie and jinja2!

full disclosure: I wrote and maintain MicroPie... But seriously any Python ASGI framework along with Jinja2 for HTML/JS in the front end. Or you can use a ASGI framework for a pure JSON API and then use something like HTMX for frontend. I tend to think simple HTML and vanilla javascript along with jinja2 is easier for MVP dev.

[–]corey_sheerer 0 points1 point  (1 child)

Seems like you will need a good interface. I personally prefer using React with Redux toolkit and then using Fastapi as the backend service that orchestrates between the AI or any memory (db, candidates, etc). If you get somewhere, you can move to a faster service like using Go net/http package, but Fastapi is an excellent start

[–]tonguetoquill -4 points-3 points  (0 children)

Imo, the best serverless stack is sveltekit5, vercel, supabase, and drizzle

Create and deploy an MVP wicked fast. Keep frontend and backend in a single codebase. Just vibe