Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -25,17 +25,17 @@ app = FastAPI(
|
|
25 |
description="""
|
26 |
A comprehensive API for managing student clearance processes with RFID authentication.
|
27 |
|
28 |
-
|
29 |
-
*RFID Authentication - Students and staff use RFID tags for quick access
|
30 |
-
*Multi-Department Clearance - Support for Library, Bursary, Alumni, and Departmental clearances
|
31 |
-
*Device Management - ESP32 RFID readers with secure API key authentication
|
32 |
-
*Role-Based Access - Different permissions for Students, Staff, and Administrators
|
33 |
-
*Real-Time Tracking - Live clearance status updates and comprehensive logging
|
34 |
|
35 |
-
Authentication Methods
|
36 |
-
*JWT Tokens - For web interface and administrative access
|
37 |
-
*RFID Tags - For quick student and staff authentication
|
38 |
-
*Device API Keys - For ESP32 RFID reader authentication
|
39 |
""",
|
40 |
version="2.0.0",
|
41 |
lifespan=lifespan,
|
|
|
25 |
description="""
|
26 |
A comprehensive API for managing student clearance processes with RFID authentication.
|
27 |
|
28 |
+
## Features
|
29 |
+
* RFID Authentication - Students and staff use RFID tags for quick access
|
30 |
+
* Multi-Department Clearance - Support for Library, Bursary, Alumni, and Departmental clearances
|
31 |
+
* Device Management - ESP32 RFID readers with secure API key authentication
|
32 |
+
* Role-Based Access - Different permissions for Students, Staff, and Administrators
|
33 |
+
* Real-Time Tracking - Live clearance status updates and comprehensive logging
|
34 |
|
35 |
+
## Authentication Methods
|
36 |
+
* JWT Tokens - For web interface and administrative access
|
37 |
+
* RFID Tags - For quick student and staff authentication
|
38 |
+
* Device API Keys - For ESP32 RFID reader authentication
|
39 |
""",
|
40 |
version="2.0.0",
|
41 |
lifespan=lifespan,
|