| ▲ | simlevesque 3 days ago | ||||||||||||||||||||||||||||
Yeah I did my first project with FastAPI earlier this year with experience in other languages and I couldn't believe how bad it was. | |||||||||||||||||||||||||||||
| ▲ | com2kid 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||
The funny thing is all the python people will tell you how great FastAPI is and how much of an improvement it is over what came before. FastAPI does have a few benefits over express, auto enforcing json schemas on endpoints is huge, vs the stupidity that is having to define TS types and a second schema that then gets turned into JSON schema that is then attached to an endpoint. That IMHO is the weakest link in the TS backend ecosystem, compiler plugins to convert TS types to runtime types are really needed. The auto generated docs in FastAPI are also cool, along with the pages that let you test your endpoints. It is funny, Node shops setup a postman subscription for the team and share a bunch of queries, Python gets all that for free. But man, TS is such a nice language, and Node literally exists to do one thing and one thing only really well: async programming. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | kurtis_reed 2 days ago | parent | prev [-] | ||||||||||||||||||||||||||||
What's bad about it? | |||||||||||||||||||||||||||||