ruslanmv commited on
Commit
d3dfe9c
β€’
1 Parent(s): b2165cc

First commit

Browse files
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 # Optional custom styles (Bootstrap already integrated)
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-12-08-37.png)
61
  4. **Access the application**:
62
  - **Host interface**: [http://127.0.0.1:5000/host](http://127.0.0.1:5000/host)
63
- ![](assets/2024-10-21-12-09-25.png)
64
  - **Client interface**: [http://127.0.0.1:5000/client](http://127.0.0.1:5000/client)
65
- ![](assets/2024-10-21-12-10-42.png)
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