A Dutch realtime pub quiz
This project was made as a school assignment.
See live demo: Demo
(Demo is in Dutch language)
- Build with Nodejs 8.1
- ReactJS 16
- React Redux 7.1
- Redux 4
- ExpressJS 4.13
- Mongoose 5.7.6
- WS (Websockets) 7.1.2
git clone https://github.com/aaron5670/Realtime-Pub-Quizz.git
- Create a config.js file on the server with the following settings:
//CLOUD.MONGODB.COM DEVELOPMENT
const USERNAME = "username";
const PASSWORD = "password";
const HOST = "yourhostname.mongodb.net";
const PORT = "27017";
const DB = "quizzer";
var exports = module.exports = {USERNAME, PASSWORD, HOST, PORT, DB};
- Edit quizzer/src/config.js.
- Run
npm install
in the server folder and client folder. - Run the server:
node server.js
. - Run the Webpack server (client)
npm start
. - Go to http://localhost:3000.