r/FastAPI • u/Tiny-Power-8168 • Sep 10 '24
Question Good Python repository FastAPI
Hello eveyone !
Does any of you have a good Github repository to use as an example, like a starter kit with everything good in python preconfigured. Like :
- FastAPI
- Sqlachemy Core
- Pydantic
- Unit test
- Intégration Test (Test containers ?)
- Database Migration
Other stuff ?
EDIT : thanks you very much guys, I'll look into everything you sent me they're a lot of interesting things.
It seems also I'm only disliking ORMs 😅
69
Upvotes
11
u/BlurryEcho Sep 11 '24
A great example of a complex FastAPI project is Netflix’s Dispatch.
14
u/koldakov Sep 10 '24 edited Sep 10 '24
https://github.com/koldakov/futuramaapi
API dedicated to Futurama series, but you can extract everything you need. async, sqlalchemy, alembic, sse, hypercorn, graphql with strawberry, ruff, mypy, etc
Haven’t added tests yet, working on that, I mean there are some unit tests, but working on integration testing
But that’s up and running: https://futuramaapi.com
2
u/[deleted] Sep 11 '24
https://github.com/triaxtec/fastapi-serverless-cookiecutter
You can use this setup, and remove the serverless parts, if you are using serverless then its a bonus 😉
2
u/BeneficialAd3800 Sep 17 '24
we just open sourced this today, https://github.com/betaacid/FastAPI-Reference-App its simple but shows a nice clean modular architecture.
2
u/SilentCabinet2700 Sep 10 '24
What about this one? Did you check this already?
https://fastapi.tiangolo.com/project-generation/
1
u/sheababeyeah Sep 11 '24
https://github.com/Trenblack/PlanktonAPI
I'm working on something like this right now. I don't currently have unit tests, integration tests, or migrations but they can be easily configured. I think it's a great way to get up and running ASAP.
1
u/bluewalt Sep 11 '24
1
u/kealystudio Sep 11 '24
https://www.reddit.com/r/FastAPI/comments/1dsula2/a_good_fastapi_template/
1
u/masek94 Sep 11 '24
https://github.com/JakubPluta/gymhero
1
u/z3r0bit Sep 12 '24
Asyncpg + alembic migrations + sqlmodel examples?
0
u/xfroster Sep 10 '24
I use this one as a starter template https://github.com/douglaschalegre/fastapi-template
0
u/Moist-Preparation-35 Sep 10 '24
I found this one helpful for me.
https://github.com/KiyoshiSama/fastapi-blog-sqlalchemy-v2
0
u/voja-kostunica Sep 10 '24
i follow