Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ These instructions will get you a copy of the project up and running on your loc

- Google Chrome
- Gmail Account
- Google Client ID for Authenication
- API key from https://opentdb.com/api_config.php

### 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.
Create a Google Client ID for Google Authentication and save the Google client ID and Google client secret as GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in the .env file. 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)
Expand All @@ -38,6 +40,7 @@ Steps to deploy:
- npm run build:client
- (update API token, if necessary)
- start the server

## Built with:

- [Axios](https://axios-http.com/docs/api_intro)- handles client side requests
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import kittyHat from '../css/pictures/kittyhat.png';
import '../css/styles.scss';

const authHandle = () => {
window.location.href = '/auth/google';
window.location.href = '/google';
};

const Login = () => {
Expand Down
Loading