Webapp to manage user queues and notify users when it is their turn (virtual line). This app is production ready and was built during the Devpost covid-19 global hackathon.
- Student sets name by clicking on small pencil icon
- Use the button at the bottom to easily join the queue
- Instructor can see all students currently in the queue
- First, set your meeting link by clicking on the pencil icon
- To notify a student and send them your meeting link, click the bell icon
- To remove a student, simply click on the red X icon next to their name
- Install nodejs and yarn
- Clone the repo
- Run the backend (I recommend running it in a screen session)
cd backend/node index.js
- Build the frontend/webapp
cd webapp- Set the address of the backend websocket in
webapp/src/App.jsx yarn build- Point your prefered static hosting app to the
webapp/build/directory or move the build directory to your static hosting directory (common location:/var/www/html/)
server{server_name testSmartQueue.com;root /home/user/SmartQueue/webapp/build;indexindex.html index.htm; # Main webapplocation / {try_files$uri /index.html;} # Websocket/backendlocation /ws/ { # Set this to the port specified in backend/index.js (default:8888)proxy_passhttp://localhost:8888; # Make sure all headers are passedproxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "Upgrade";proxy_set_header Host $host;}}
