8000 GitHub - nicodeas/quiz-warden
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nicodeas/quiz-warden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quiz-warden

Overview

Project Structure

Test Manager

Setup

  • To start the TM server, change into the TM directory and run
python -m main

Development

Adding page routes

  • Add a new file to the routes directory. The file should be named after the route. For example, the route /quiz should be named quiz.py.
  • In the file, update the class name to match the route in PascalCase. For example, the route /quiz should be named Quiz.
  • Register the route by importing it into routes/__init__.py.
  • Add the relevant html file to the views directory. T 6D66 he file should be named after the route. For example, the route /quiz should be named quiz.html.
  • Add the relevant static files to the static directory. Added static files can be accessed at /static/<filename>.

Adding API routes

  • Add a new file to the api directory. The file should be named after the route. For example, the route /api/quiz should be named quiz.py.
  • In the file, update the class name to match the route in PascalCase. For example, the route /api/quiz should be named Quiz. Change the argument route to be the path of the directory.
  • Register the route by importing it into routes/api/__init__.py.

Question Bank

See make file for options

To run in DEBUG mode, use DEBUG=1 ./main -p 8080 PYTHON

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0