Fully automated server to run quizzes for multiplayers
- Emits questions and options to client
- Have a global timer for the clients
- Place the
server
directory in the same folder asclient/<repo>
| client | -> TT | server - Do
yarn install
to install dependencies - Generate
- Start the server with
yarn server
- Run the client and head to
quiz/testws
If you face issues with the backend such as
TypeError: Cannot read properties of undefined (reading 'on')
This is just a matter of refreshing the server. Since we are using nodemon, you can just ctrl+s any files for it to refresh