I really enjoy using FastAPI[0], but I miss the power of Django's admin panel, and Flask's tight integration with Jinja[1].
There's a number of "full-stack templates" available for FastAPI, but they all seem to favor javascript-based clients over server-side templates. I decided to cobble together my own FastAPI "template", with some nice improvements. It tries to mimic the experience of starting a new Django or Flask app. The main feature is likely the integration of Flask-Admin[2], using FastAPI's WSGI interface. Authentication and authorization might get hairy, but I've provided the basic implementation for the user to build upon.
I hope to one day rewrite Flask-Admin from scratch for ASGI apps (and FastAPI in particular, for its wonderful dependency injection).
Let me know what you'd like to see added or improved upon in this boilerplate!
Thanks for your interest! I wasn't aware of SQLModel, thanks for bringing it to my attention.
Looks like SQLModel uses SQLAlchemy under the hood, so it should be readily compatible! You've given me the idea to try creating different "flavors" or branches of this template, with different integrations available.
There's a number of "full-stack templates" available for FastAPI, but they all seem to favor javascript-based clients over server-side templates. I decided to cobble together my own FastAPI "template", with some nice improvements. It tries to mimic the experience of starting a new Django or Flask app. The main feature is likely the integration of Flask-Admin[2], using FastAPI's WSGI interface. Authentication and authorization might get hairy, but I've provided the basic implementation for the user to build upon.
I hope to one day rewrite Flask-Admin from scratch for ASGI apps (and FastAPI in particular, for its wonderful dependency injection).
Let me know what you'd like to see added or improved upon in this boilerplate!
[0] https://fastapi.tiangolo.com/
[1] https://flask.palletsprojects.com/en/2.0.x/templating/
[2] https://github.com/ttymck/fastapi-fullstack-boilerplate/blob...