- Create database in PostgreSQL called quiz_app
- Create the
.envby using.env.examplein the back-end folder - Update the .env file with your correct local information
- username:
labber - password:
labber - database:
quiz_app
- Install dependencies on both the front and back-end:
npm i - Reset database:
npm run reset-db - cd into back-end folder, Run the server:
npm run go - cd into front-end folder, Run the client:
npm start - Visit http://localhost:3000/
- On the home page you see the top 24 high scores
- You can hit play to start the quiz or look at the Instructions page
- On this page you learn how to play and how the point system works
- This page is the game it's self
- Here you answer questions, earn points, and use hints if you stuck
- You score and game stats are being recorded as you go along
- you have a 5 min time limit to finish the quiz
- This is where you will see your score, final time and other game stats
- You enter in a nickname
- if you scored high enough your score will be added to the leader board
- after submiting your nickname you will be sent back to the home page
- Use the
npm run reset-dbcommand in the back-end each time there is a change to the database schema or seeds.- It runs through each of the files, in order, and executes them against the database.
- Note: you will lose all newly created (test) data each time this is run, since the schema files will tend to
DROPthe tables and recreate them.
- normalize.css 12.0.0
- animation.css 4.1.1
- axios: 0.18.1
- postcss-normalize 10.0.1
- react: 16.8.6
- react-dom: 16.8.6
- react-router-dom: 6.17.0
- react-scripts: 2.1.8
- sanitize.css 13.0.0
- body-parser: 1.20.2
- chalk: 4.1.2
- cors: 2.8.5
- dotenv: 16.3.1
- express: 4.18.2
- fs: 0.0.1-security
- knex: 3.0.1
- nodemon: 1.18.7
- pg: 8.11.3
- whatwg-fetch: 3.6.19
- Run the server:
npm run go - Run the client:
npm start - Visit: http://localhost:3000/
-
Nick Stilwell: https://github.com/nickstilwell52
-
Yiyao Chen: https://github.com/ychento
-
Hossein Safi: https://github.com/mhosseinsafi
-
Ryan Stewart: https://github.com/ryanstew95






