Code Monkey home page Code Monkey logo

lab-bot's Introduction

Lab-Bot


A lab assistance system which will be deployed in University of Nottingham CS building A32.

Introduction


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.

Current Functions and Usages


Only the web service is currently available (locally).

For Students

  1. Using local account to log in the system.
  2. Make a request.
  3. Requests can be made when there is a lab in A32 and the student is enrolled in the corresponding module.
  4. 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.
  5. 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.
  6. Can see the position of my request.
  7. Cancel the request.

For Assistants

  1. Using local account to log in the system.
  2. When there is a waiting request available, you can choose to help when get ready.
  3. Assistants can only handle requests from the modules they enroll.
  4. 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.
  5. After deciding to help, you can see which student to help.
  6. Finish the request.
  7. Suspend the request.
  8. Can see the requests you have handled before.
  9. Can see all available suspended requests and choose one to help.

REST API Use

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: REST

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/" REST

Please note the file “.htaccess” is essential to REST, keep it with other PHP files in the same folder.

Future Development


We will continue developing the web service and try to build software for A32 lab PC in the future.

How to Set up


Because all the files are running locally, you should install and run the MySQL system in your computer before testing.

  1. Import 'Lab-bot.qsl' file into your MySQL, which includes all the databases and some testing data.
  2. Make sure credentials are correct in 'credentials.php', matching your own database.
  3. 'studentLogin.php' is for student users to login.
  4. 'adminLogin.php' is for assistant users to login.

Authors


  • Buzhen Ye
  • Steven Bagley (Supervisor)

Contributing


If you want to understand the code, develop or contribute, please check the documentations in doc folder and inform Buzhen Ye.

lab-bot's People

Contributors

yebuzhen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.