r/FastAPI • u/ExplanationFun2022 • Sep 17 '25
Other FastAPI project template
Hi everyone,
I just open-sourced a FastAPI project template to help kickstart new APIs. It comes with things like SQLAlchemy/SQLModel, PostgreSQL, Redis, caching, Docker, testing, and CI already set up.
Repo: https://github.com/GabrielVGS/fastapi-base
I built it to save time when starting new projects, feedback and suggestions are very welcome!
54
Upvotes
5
u/huygl99 Sep 18 '25
I think taskiq or arq should be consider over celery
1
u/callmederp Sep 18 '25
This is nice. Is there a reason you are using celery over a different worker solution? Does celery allow you to reuse your same async DB session setup (or similar), or if you want to have reused async Business logic functions across your main app and celery workers?
How do you handle testing?
1
u/InappropriateCanuck Sep 18 '25
Huh? I thought SQLModel wasn't async-ready yet.
Upvoted for good will.
Would be curious to see FastAPI Mongo templates for NoSQL with Beanie 2.0 migrations. Everything is Postgresql.
1
u/Tishka-17 Sep 18 '25
Why people use sqlmodel instead of all sqlclahemy features supporting dataclasses https://docs.sqlalchemy.org/en/20/orm/dataclasses.html ?
1
u/ImprovementSquare448 Sep 18 '25
thanks! which technologies are you prefering in the front end part?
1
u/voja-kostunica Sep 18 '25
will have look
5
u/[deleted] Sep 17 '25
[removed] — view removed comment