A lab assistance system which will be deployed in University of Nottingham CS building A32.
The idea behind ‘Lab Bot’ is to provide a system by which students can request support easily and discreetly from their computer, and that directs staff to the relevant students. The system is still under developing. We aim to put the system in A32 next term.
Only the web service is currently available (locally).
- Using local account to log in the system.
- Make a request.
- Requests can be made when there is a lab in A32 and the student is enrolled in the corresponding module.
- Requests can also be made if there is a lab within 10 minutes in the future or 15 minutes before, and the student is enrolled in the corresponding module.
- If the last request is finished in 10 minutes, then the current request will be assigned to last assistant who helped you last time. If the last request is more than 10 minutes earlier, the request will not be assigned to a specific assistant.
- Can see the position of my request.
- Cancel the request.
- Using local account to log in the system.
- When there is a waiting request available, you can choose to help when get ready.
- Assistants can only handle requests from the modules they enroll.
- The assistant can only handle requests which are not specific assigned to a different assistant unless the request has been made for more than 10 minutes.
- After deciding to help, you can see which student to help.
- Finish the request.
- Suspend the request.
- Can see the requests you have handled before.
- Can see all available suspended requests and choose one to help.
To use REST API from web browser, you should login first. Go to url: "http://localhost/.../Lab-Bot/site/list/" (... is the prefix address), then you can see JSON data similar to below:
You can also get a specific JSON item by indicating in the URL, for example, if you go to URL: "http://localhost/.../Lab-Bot/site/list/userType/"
Please note the file “.htaccess” is essential to REST, keep it with other PHP files in the same folder.
We will continue developing the web service and try to build software for A32 lab PC in the future.
Because all the files are running locally, you should install and run the MySQL system in your computer before testing.
- Import 'Lab-bot.qsl' file into your MySQL, which includes all the databases and some testing data.
- Make sure credentials are correct in 'credentials.php', matching your own database.
- 'studentLogin.php' is for student users to login.
- 'adminLogin.php' is for assistant users to login.
- Buzhen Ye
- Steven Bagley (Supervisor)
If you want to understand the code, develop or contribute, please check the documentations in doc folder and inform Buzhen Ye.