ClassConnect Backoffice is the administrative and monitoring dashboard for the ClassConnect system. It provides tools for managing users, configuring access permissions, and monitoring the health and usage of services within the platform.
-
🧑💼 Admin Registration & Login
Secure authentication for administrators with role-based access. -
🔒 User Management
- Block/unblock users
- Grant or revoke access permissions
- View user activity and status
-
📊 System Monitoring
Integrated with Prometheus and Grafana for real-time metrics visualization and alerting. -
⚙️ Service Management
Tools for tracking service health, usage statistics, and logs.
- React with Vite
- React Router DOM
- Axios
- Vanilla CSS (no utility frameworks like Tailwind)
- Python 3.13 (FastAPI)
- Prometheus Client for metrics
- Uvicorn as ASGI server
Here are some curl examples for some endpoints implemented.
To create a new admin use POST /admins
curl -X POST 'http://localhost:3004/admins' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"username": "username",
"email": "mail@example.com",
"password": "securepassword"
}'To get a list of all the admins in the system use GET /admins
curl 'http://localhost:3004/admins' \
-H 'Authorization: Bearer {token}'To get a certain admin use GET /admins/:id
curl 'http://localhost:3004/admins/{id}' \
-H 'Authorization: Bearer {token}'To delete a certain admin use DELETE /admins/:id
curl -X DELETE 'http://localhost:3004/admins/{id}' \
-H 'Authorization: Bearer {token}'To login admins:
curl -X POST 'http://localhost:3004/admins/login' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"email": "admin123@example.com",
"password": "securepassword"
}'- Docker & Docker Compose
- Docker
- Docker Compose
git clone <repo-url> backofficedocker compose up --buildVisit:
- 🌐 Frontend: http://localhost:5173
- 🔙 Backend API: http://localhost:3004
classconnect-backoffice/
├── backend/ # FastAPI app
├── frontend/ # React admin panel
└── docker-compose.yml # Docker orchestration
MIT License.
You can access the published backoffice user guide at the following link: https://is2-class-connect.github.io/classconnect-backoffice/