Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minimarker/webdevelopment_react_exam
Exam soulution for PG6300-H18 - Node and Express API and React web application for a quiz game
https://github.com/minimarker/webdevelopment_react_exam
docker exam express-session expressjs passport quiz-game reactjs redux rest-api websockets
Last synced: 3 days ago
JSON representation
Exam soulution for PG6300-H18 - Node and Express API and React web application for a quiz game
- Host: GitHub
- URL: https://github.com/minimarker/webdevelopment_react_exam
- Owner: MiniMarker
- License: gpl-3.0
- Created: 2018-10-23T14:09:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T21:58:08.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T21:29:35.682Z (7 months ago)
- Topics: docker, exam, express-session, expressjs, passport, quiz-game, reactjs, redux, rest-api, websockets
- Language: JavaScript
- Homepage:
- Size: 2.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webdevelopment_React_Exam
## Description
This is my exam project for PG6300, which is a multiplayer Quiz Game made with React, Redux and WebSockets.
In this Quiz Game every user has 5 seconds to answer the given Questions and there is 8 question in each round
The DB is for simplicity Mocked as arrays an Maps as the task said it would.## Feature requirements done
- Implemented at least two pages that are linked with React Router
- Implement state in at least one page
- RESTful API with GET and POST with JSON
- make the frontend display, put or change the data in the DB via the API
- Implemented WebSockets and make frontend use it
- Session-based authentication/authorization**EXTRA**
- Docker for deployment
- Redux on login state
- SASS for styling### Known bugs
- Score
- If a user does'nt answer a question it will count the point as a correct answer at 0 sec,
i didnt get the time to fix this bug, so I marked it for later FIXME
## How to run
1. Clone this repo
2.
a) Docker
- from deploy folder run:
- `docker-compose build`
- `docker-compose up`
b) Webpack and Node
- from root folder: run:
- `npm run dev`
3. Enter [localhost:8080](http://www.localhost:8080)
4. Have fun!