Skip to content

KittyScripters/QuizParty

Repository files navigation

QuizParty

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.

Getting Started:

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.

Prerequisites:

Setup:

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.

Scripts:

  • 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)

Deployment:

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

Built with:

  • 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)

Authors:

License:

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments:

  • To all of our kitties at home, and Stephen's chinchilla Pixie

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages