PyThrone is a headless, modular content management system designed for creators who want full control over their digital kingdom. It empowers users to publish, manage, and structure content through a flexible API — no bloated dashboards, just clean endpoints and creative freedom.
git clone https://github.com/yourusername/PyThrone.git
cd PyThrone
pip install -r requirements.txtStart the FastAPI server:
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadThe application will be available at http://localhost:8000
curl -X POST "http://localhost:8000/items" \
-H "Content-Type: application/json" \
-d '{"name": "Sample Item", "description": "This is a sample item"}'curl -X GET "http://localhost:8000/items"curl -X GET "http://localhost:8000/items/1"curl -X GET "http://localhost:8000/"curl -X GET "http://localhost:8000/quiz"The application uses SQLite as the database with SQLAlchemy ORM for managing items. The database file (pythrone.db) will be created automatically when you start the application.
id: Integer (Primary Key)name: String (Required)description: Text (Optional)
This project is licensed under the MIT License — see the LICENSE file for details.