A buzzer-app with a server and a client. Made with React, NodeJS and Socket.io. Useful for quizzes and games for your parties like blind-test.
git clone https://github.com/arthur-mdn/buzzer-app.git
cd buzzer-app
cd server
npm install
⚠️ You will need to duplicate the.env.example
file to.env
and update the environment variables.
⚠️ You will also need to create a MongoDB database and update theDB_URI
variable in the server .env file.
cd client
npm install
⚠️ You will need to duplicate the.env.example
file in to.env
and update the environment variables.
In the server directory, you can run this to run the server and listen for connections / sockets.
cd server
node server.js
In the client directory, you can run this to run the app in development mode :
cd client
npm run dev
Open http://localhost:5173 to view it in your browser.