First commit
Browse files- README.md +9 -4
- assets/2024-10-21-17-07-42.png +0 -0
- assets/2024-10-21-17-08-13.png +0 -0
- assets/2024-10-21-17-09-15.png +0 -0
README.md
CHANGED
@@ -15,14 +15,19 @@ A Python-based real-time quiz application designed to mimic the functionality of
|
|
15 |
```bash
|
16 |
Real-Time-Quiz-Application/
|
17 |
β
|
|
|
18 |
βββ app.py # Main Flask application
|
|
|
19 |
βββ templates/
|
20 |
β βββ index.html # Main index page with client and host buttons
|
21 |
β βββ client.html # Client interface
|
22 |
β βββ host.html # Host interface
|
23 |
βββ static/
|
24 |
-
β βββ style.css #
|
25 |
β βββ script.js # JavaScript for real-time interactions
|
|
|
|
|
|
|
26 |
βββ requirements.txt # Python dependencies
|
27 |
βββ README.md # Project documentation
|
28 |
```
|
@@ -57,12 +62,12 @@ pip install -r requirements.txt
|
|
57 |
```bash
|
58 |
python app.py
|
59 |
```
|
60 |
-
![](assets/2024-10-21-
|
61 |
4. **Access the application**:
|
62 |
- **Host interface**: [http://127.0.0.1:5000/host](http://127.0.0.1:5000/host)
|
63 |
-
|
64 |
- **Client interface**: [http://127.0.0.1:5000/client](http://127.0.0.1:5000/client)
|
65 |
-
![](assets/2024-10-21-
|
66 |
## Application Overview
|
67 |
|
68 |
### Host Interface
|
|
|
15 |
```bash
|
16 |
Real-Time-Quiz-Application/
|
17 |
β
|
18 |
+
β
|
19 |
βββ app.py # Main Flask application
|
20 |
+
βββ backend.py # Backend logic for loading and managing exams
|
21 |
βββ templates/
|
22 |
β βββ index.html # Main index page with client and host buttons
|
23 |
β βββ client.html # Client interface
|
24 |
β βββ host.html # Host interface
|
25 |
βββ static/
|
26 |
+
β βββ style.css # Custom styles to mimic the OnVUE exam appearance
|
27 |
β βββ script.js # JavaScript for real-time interactions
|
28 |
+
βββ questions/ # Folder containing exam JSON files
|
29 |
+
β βββ exam1.json # Example JSON file for exam 1
|
30 |
+
β βββ exam2.json # Example JSON file for exam 2
|
31 |
βββ requirements.txt # Python dependencies
|
32 |
βββ README.md # Project documentation
|
33 |
```
|
|
|
62 |
```bash
|
63 |
python app.py
|
64 |
```
|
65 |
+
![](assets/2024-10-21-17-07-42.png)
|
66 |
4. **Access the application**:
|
67 |
- **Host interface**: [http://127.0.0.1:5000/host](http://127.0.0.1:5000/host)
|
68 |
+
![](assets/2024-10-21-17-08-13.png)
|
69 |
- **Client interface**: [http://127.0.0.1:5000/client](http://127.0.0.1:5000/client)
|
70 |
+
![](assets/2024-10-21-17-09-15.png)
|
71 |
## Application Overview
|
72 |
|
73 |
### Host Interface
|
assets/2024-10-21-17-07-42.png
ADDED
assets/2024-10-21-17-08-13.png
ADDED
assets/2024-10-21-17-09-15.png
ADDED