Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaron5670/realtime-pub-quiz
⁉️ Realtime Node.js and React.js Pub Quiz game
https://github.com/aaron5670/realtime-pub-quiz
demo drinking-game express expressjs quiz quiz-app quiz-game react reactjs realtime realtime-pub-quiz socket
Last synced: about 2 months ago
JSON representation
⁉️ Realtime Node.js and React.js Pub Quiz game
- Host: GitHub
- URL: https://github.com/aaron5670/realtime-pub-quiz
- Owner: aaron5670
- Created: 2019-11-07T17:24:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T12:26:56.000Z (about 2 years ago)
- Last Synced: 2024-04-24T09:05:40.614Z (9 months ago)
- Topics: demo, drinking-game, express, expressjs, quiz, quiz-app, quiz-game, react, reactjs, realtime, realtime-pub-quiz, socket
- Language: JavaScript
- Homepage:
- Size: 861 KB
- Stars: 24
- Watchers: 2
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Realtime Pub Quiz Game
**A Dutch realtime pub quiz**
This project was made as a school assignment.\
**See live demo:** [Demo](https://quiz.aaronvandenberg.nl/)\
*(Demo is in Dutch language)*![Screenshot](https://raw.githubusercontent.com/aaron5670/Realtime-Pub-Quizz/master/screenshot.png)
### Features
- 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### How to install
1. ``git clone https://github.com/aaron5670/Realtime-Pub-Quizz.git``
2. Create a config.js file on the **server** with the following settings:
```javascript
//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};
```
3. Edit **quizzer/src/config.js**.
4. Run ```npm install``` in the **server** folder and **client** folder.
5. Run the server: ``node server.js``.
6. Run the Webpack server (client) ```npm start```.
7. Go to http://localhost:3000.