| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
FastAPI-Admin is a admin dashboard based on fastapi and tortoise-orm.
FastAPI-Admin provide crud feature out-of-the-box with just a few config.
Check a live Demo here https://fastapi-admin.long2ice.cn.
Data in database will restore every day.
Look full example at examples.
See restful-admin for reference.
> pip3 install fastapi-adminfrom fastapi_admin.factory import app as admin_app
fast_app = FastAPI()
register_tortoise(fast_app, config=TORTOISE_ORM, generate_schemas=True)
fast_app.mount('/admin', admin_app)
@fast_app.on_event('startup')
async def startup():
await admin_app.init(
admin_secret="test",
permission=True,
site=Site(
name="FastAPI-Admin DEMO",
login_footer="FASTAPI ADMIN - FastAPI Admin Dashboard",
login_description="FastAPI Admin Dashboard",
locale="en-US",
locale_switcher=True,
theme_switcher=True,
),
)See documentation at https://long2ice.github.io/fastapi-admin.
Deploy fastapi app by gunicorn+uvicorn or reference https://fastapi.tiangolo.com/deployment/.
See restful api docs.
| AliPay | WeChatPay | PayPal |
|---|---|---|
![]() |
![]() |
PayPal to my account long2ice. |
This project is licensed under the Apache-2.0 License.
| Back | FazBrowse Home | New Git URL |