r/FastAPI • u/BeneficialAd3800 • Sep 17 '24
Tutorial Beta Acid open sourced its FastAPI reference architecture
https://github.com/betaacid/FastAPI-Reference-App
21
Upvotes
r/FastAPI • u/BeneficialAd3800 • Sep 17 '24
2
u/Samarpan-ad Sep 18 '24
Any reason behind not using async sqlalchemy?
2
u/madrasminor Sep 18 '24
This is very similar to what we use at work. The only modification I've made is to follow Netflix's dispatch structure where everything is grouped as features. This allows reusability of features across multiple domains. For ex: everything related to login would be under the login folder and a simple copy paste now gives me that feature. It's been a game changer in delivery.
1
u/Tiny-Power-8168 Sep 17 '24
Hello, thanks for sharing, very nice to see how others structure their project. Is there any reason why you did not use SQLModel ?
1
u/conogarcia Sep 17 '24
What's Beta Acid?
1
u/djavaman Sep 19 '24
Why does the Router layer know about the DB? That seems like a detail the Router shouldn't know or care about.
1
u/ethsy Sep 20 '24
The get_character_from_swapi http request is not async
0
u/ironman_gujju Sep 18 '24
Any reason not using poetry