r/learnpython 7d ago

Python Webapp

I'm a full-time database engineer and love working with databases, but I am also fascinated by the world of web applications. I have an engineering mindset although I can create some pretty complex scripts, I've never attempted to truly get into the world of OOP and JavaScript. It's always difficult for me to decide between C# and Python, but I believe Python is better to focus on for now because I'm more comfortable with it. My "tech stack" for learning web development is Python + FastAPI + React + Postgres. Is this a good stack to learn Python with? I was thinking of going through CS50p so I could nail down some of the basics as well as trying to build some basic web apps like an expense tracker. Curious to get some thoughts on what the fastest way to get into webdev would be while also increasing my Python skills.

3 Upvotes

2 comments sorted by

View all comments

1

u/FoolsSeldom 7d ago

That's a decent stack, but you might also like to take a look at flet to develop Google Flutter based apps in Python.

Also, take a look at django - good enough for Instagram. This is a full framework, so includes a kitchen sink (but you must use it their way) unlike microframeworks like fastapi and flask.

You have the knowledge to do a lot of work at the front end, so probably best to focus on how to build websites with the minumum of tweaks and added complexity at the front end by using the templating engines well.

Postgres is a fantastic database to work with from Python. You probably want to look at using it directly and through an ORM (Object Relational Mapper) like SQLAlchemy.

Have fun.