Skip to content

Lap 3 quiz website built with React, MongoDB, Express and Node.js

License

Notifications You must be signed in to change notification settings

akennedy205/QuizProQuo

Repository files navigation

QuizProQuo

Lap 3 quiz website built with React, MongoDB, Express and Node.js Project team consists of:

Project Description

This is a Lap 3 group project to make a quiz using React. Quiz-Pro-Quo is MERN fullstack application.

Installation and Usage

Installation & Usage

  • Clone this repo and navigate to root directory
  • cd into frontend file and in terminal, npm install

Client-side

  • For client, cd frontend and npm run start, it should automatically load on http://localhost:3000

Server-side

  • For server, cd server and npm run dev
    To use docker: To start server and use docker compose for server container, open terminal and run bash _scripts/startDev.sh

  • Starts API and DB services

  • Serves API on http://localhost:3001

  • To teardown docker compose completely:
    bash _scripts/teardown.sh

Socket.io-side

To set up socket server:

  • cd socketio
  • npm run dev

Technologies:

  • HTML, CSS, Javascript, React

Dependencies:

  • Server: cors, socket.io, express, MongoDb, Mongo Atlas, Nodemon, Axios, Docker, Redux

  • Fontawesome, Redux-dev-tools, Redux thunk

DevDependencies:

  • Jest, Supertest

Wins & Challenges

Wins

  • Successful deployment to Netlify and Heroku
  • App is responsive
  • Multiplayer waiting lobby and chat-room functioning across multiple devices

Challenges

  • Understanding and implication of sockets
  • Duplicated submissions to leaderboard
  • Testing with mongoDB

Future Features

  • Sound effects
  • Question countdown timer
  • Random punishment generation for the losers

About

Lap 3 quiz website built with React, MongoDB, Express and Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •