Quiz Party is a lighthearted trivia quiz app that tests your knowledge on Trivia questions from an external API or from quizzes your create yourself! Check out the leaderboard, increase your highscore, and challenge yourself against your friends.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Google Chrome
- Gmail Account
- API key from https://opentdb.com/api_config.php
When opening the repo, make sure to do the following steps in the root directory. When finished, open localhost:3000 to see the rendered app.
- npm install (installs all dependencies)
- npm run seed (seeds the database)
- npm run build:client-dev (builds the client for the development environment)
- npm start (starts the server and serves the client)
This app was deployed on AWS in a putty terminal.
There is an .env file that includes the api token used to get unique questions (not necessary for the API to work), and the google oauth secrets that will need to be added to the pulled down deployed repo. Steps to deploy:
- create AWS account and ec2 instance to handle deploying
- login in as ubuntu/root user
- pull origin main from repo
- run npm install
- (run seed, if necessary)
- npm run build:client
- (update API token, if necessary)
- start the server
- Axios- handles client side requests
- Babel- complies the files to be brower compatible
- Bootstrap- styling framework
- Express- node.js framework
- mySQL- database
- node- executes JS code for server/client side
- Passport- middleware necessary for authentication requests
- Google Oauth- authentication
- React- front end framework
- Sequelize- mySQL database management system (ORM)
- Alec Vierbuchen- rvierbuc
- Alex Beasley- alexmbeasley
- Daniel Jaen- danielalejandrojaen
- Gretchen Neuenhaus - neuenhaus14
- Stephen Nelson - SNelson723
This project is licensed under the MIT License - see the LICENSE.md file for details
- To all of our kitties at home, and Stephen's chinchilla Pixie