Quick Start Guide
This guide will help you create your first FastAPI Admin project.
Create a Project
-
Install FastAPI Admin CLI:
-
Create a new project:
Setup Environment
-
Copy environment template:
-
Configure variables in .env:
Launch with Docker
-
Build containers:
-
Start services:
Database Setup
-
Create migrations:
-
Apply migrations:
ℹ️ INFO
Then inside the shell execute alembic commands. Example:
For other db management commands use alembic directly in container shell.alembic upgrade head
Create Admin User
Create superuser for admin access:
Access Your Application
- API Documentation: http://localhost:8000/docs
- Admin Interface: http://localhost:8000/admin
- API Root: http://localhost:8000/api/v1
Next Steps
-
Create your first app:
-
Add routes to app/core/main_routes.py :
-
Create models in app/blog/models.py
- Make and apply migrations
- Implement your business logic
Development Workflow
- Make model changes
-
Create migrations:
-
Apply migrations:
-
Access shell if needed:
See the Command Reference for more details.