Developer Ban Appeal Bot API - Modern async Python implementation.
This project is still very much in the alpha stages.
pip install -r requirements.txt
python main.pyServer runs on http://localhost:3000 with auto-generated API docs at /docs.
- FastAPI - Modern async web framework
- SQLAlchemy - Python ORM
- Pydantic - Request/response validation
- PyMySQL - MySQL driver
-
Install dependencies:
pip install -r requirements.txt
-
Ensure config file exists at
~/.dbab-config/dbab.jsonwith MySQL credentials -
Run the server:
python main.py
app.py- FastAPI app configurationmain.py- Server entry pointconfig/- Configuration loaderdatabase/- SQLAlchemy setupmodels/- SQLAlchemy ORM modelscontrollers/- Business logicroutes/- FastAPI routersmiddleware/- Auth & logging middleware
- Swagger UI: http://localhost:3000/docs
- ReDoc: http://localhost:3000/redoc
All endpoints require an Authorization header with a valid API token from the ACL table.
- Node.js/Express Version - Original implementation
- Migration Guide - Express to FastAPI conversion details