# FastapiAdmin
**Repository Path**: fastapiadmin/FastapiAdmin
## Basic Information
- **Project Name**: FastapiAdmin
- **Description**: FastAdmin是一套完全开源的快速开发平台,提供免费使用。它结合了现代、高性能的技术栈,后端采用Fastapi + SQLAlchemy,前端采用基于 vue3 + typescript + vite + pinia + Element-Plus。旨在帮助开发者快速搭建高质量的中后台系统。
官网地址:http://service.fastapiadmin.com
- **Primary Language**: Python
- **License**: MIT
- **Default Branch**: master
- **Homepage**: http://service.fastapiadmin.com
- **GVP Project**: No
## Statistics
- **Stars**: 753
- **Forks**: 369
- **Created**: 2024-12-10
- **Last Updated**: 2026-06-06
## Categories & Tags
**Categories**: backend
**Tags**: None
## README
## 💡 Why FastapiAdmin?
| You Need | FastapiAdmin | Django Admin | Frontend-Only |
|----------|:-----------:|:-----------:|:-------------:|
| 🎯 **Ready-to-use** admin system | ✅ | ⚠️ Limited | ❌ UI only |
| ⚡ **FastAPI async** high-performance backend | ✅ | ❌ Sync-first | ❌ No backend |
| 🔐 **RBAC** menu/button/data level permissions | ✅ | ❌ Basic | ❌ |
| 🤖 **Code generator** (table → full CRUD) | ✅ | ❌ | ❌ |
| 📱 **Mobile** (H5 + Mini Program) included | ✅ | ❌ | ❌ |
| 🐳 **Docker** one-click deploy (Nginx + SSL) | ✅ | ❌ | ❌ |
> 👉 Full comparison: [Why FastapiAdmin?](https://service.fastapiadmin.com/en/guide/why)
## 🍪 Live Demo
| | URL | Account |
|---|-----|---------|
| 💻 Web | [service.fastapiadmin.com/web](https://service.fastapiadmin.com/web) | `admin` / `123456` |
| 📱 Mobile | [service.fastapiadmin.com/app](https://service.fastapiadmin.com/app) | `admin` / `123456` |
| 📖 Official Docs | [service.fastapiadmin.com](https://service.fastapiadmin.com) | No login |
## 🚀 5-Minute Quick Start
```bash
# 1. Clone
git clone https://github.com/fastapiadmin/FastapiAdmin.git
# 2. Configure environments
cp backend/env/.env.dev.example backend/env/.env.dev
cp frontend/web/.env.development.example frontend/web/.env.development
# 3. Start backend (auto-creates tables + seed data on first run)
cd backend && uv sync && uv run main.py run --env=dev
# 4. Start frontend
cd ../frontend/web && pnpm install && pnpm run dev
# ✅ Open http://127.0.0.1:5173, login with admin/123456
```
| Requirements | |
|-------------|------|
| Python ≥ 3.10 (3.12 recommended) | Node.js ≥ 20 + pnpm |
| MySQL 8.0+ / PostgreSQL 14+ | Redis 6.x / 7.x |
## 📦 Structure
```
FastapiAdmin/ # Monorepo full-stack project
├─ backend/ # FastAPI backend (Pydantic 2.0 + SQLAlchemy + Alembic)
├─ frontend/
│ ├── web/ # Vue3 Web (Element Plus + TypeScript)
│ ├── app/ # UniApp Mobile (H5 + Mini Program + App)
│ └── docs/ # VitePress documentation
├─ docker/ # Docker Compose deploy (Nginx + SSL)
├─ deploy.sh # One-click deploy script
└─ LICENSE # MIT
```
## 📌 Built-in Features
| Module | Capabilities |
|--------|-------------|
| 📊 Dashboard | Workbench, Analytics |
| ⚙️ System | Users, Roles, Menus, Departments, Positions, Dicts, Config, Notices |
| 👀 Monitoring | Online users, Server, Cache |
| 📋 Tasks | Scheduled task management |
| 📝 Logs | Operation auditing |
| 🧰 Dev Tools | **Code Generator** (table → full CRUD), Form Builder, API Docs |
| 📁 Files | Unified file management |
| 🤖 AI Agent | Agno-powered assistant |
## 🔧 Screenshots
| Login | Dashboard | Code Generator | AI Assistant |
| ----- | --------- | -------------- | ------------ |
|  |  |  |  |
## 📖 Documentation
- 🌐 [Official Docs](https://service.fastapiadmin.com) — Full guides, architecture, custom development
- 📁 Sub-project READMEs: [backend](backend/README.md) · [web](frontend/web/README.md) · [mobile](frontend/app/README.md) · [Docker](docker/README.md)
## 🤝 Contributing
Issues and PRs are welcome! See [Contributing Guide](https://service.fastapiadmin.com/en/about/contributing).
## 👥 Community
| WeChat Group | Support |
| ------------ | ------- |
|  |  |
> If you find this project useful, please give it a ⭐️ Star!
[](https://starchart.cc/fastapiadmin/FastapiAdmin)
## 👥 Contributors
## 🙏 Acknowledgments
- Backend: [FastAPI](https://fastapi.tiangolo.com/) · [Pydantic](https://docs.pydantic.dev/) · [SQLAlchemy](https://www.sqlalchemy.org/) · [APScheduler](https://github.com/agronholm/apscheduler)
- Frontend: [Vue3](https://vuejs.org/) · [TypeScript](https://www.typescriptlang.org/) · [Vite](https://vitejs.dev/) · [Element Plus](https://element-plus.org/)
- Mobile: [UniApp](https://uniapp.dcloud.net.cn/) · [Wot Design Uni](https://wot-ui.cn/)
- AI: [Agno](https://github.com/agno-agi/agno)