/fastapi-admin

A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin

Primary LanguagePythonApache License 2.0Apache-2.0

FastAPI Admin

image image image image

中文文档

Introduction

fastapi-admin is a fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin.

Installation

> pip install fastapi-admin

Requirements

Online Demo

You can check a online demo here.

  • username: admin
  • password: 123456

Or pro version online demo here.

  • username: admin
  • password: 123456

Screenshots

Run examples in local

  1. Clone repo.

  2. Create .env file.

    DATABASE_URL=mysql://root:123456@127.0.0.1:3306/fastapi-admin
    REDIS_URL=redis://localhost:6379/0
  3. Run docker-compose up -d --build.

  4. Visit http://localhost:8000/admin/init to create first admin.

Documentation

See documentation at https://fastapi-admin.github.io.

License

This project is licensed under the Apache-2.0 License.