FastAPI Admin Next is a package for managing admin interfaces in FastAPI applications, similar to Django Admin. It provides a user-friendly interface for managing your FastAPI projects.
- Model Registration: Easily register your SQLAlchemy models.
- Filter Fields: Add filter fields to your models.
- Search Fields: Add search fields to your models.
- Display Fields: Add fields visible in list table
- Pydantic Validation: Use Pydantic validation classes for your models. If not provided, Pydantic models are generated dynamically from SQLAlchemy models.
- User Authentication: Admin user authentication
- Future Plans: Manage permissions using Redis and add a reporting dashboard.
- Show Related Data: Manage related data solve N+1 problem for Single Relationships
To install the project, follow these steps:
- Install:
pip install fastapi_admin_next
Refer to the example application provided in the example folder for a detailed implementation.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or suggestions, feel free to open an issue or contact me at [mahmudul.hassan240@gmail.com].