Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanueposu committed Jun 2, 2024
1 parent 0fc25df commit 575144d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# Trivia-Forge
Trivia game generator

### About:
Trivia Forge is a web-based trivia game generator that leverages the ChatGPT API to generate trivia questions, choices, hints, and answers. Users can create their own accounts, allowing them to save and access previously created games.

<br>

### Deployment URL:
https://trivia-forge.onrender.com

<br>

### Screenshots:
![Home Page](https://yxdrsdfocuonvorowgaa.supabase.co/storage/v1/object/sign/readme.md/homepage.PNG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJyZWFkbWUubWQvaG9tZXBhZ2UuUE5HIiwiaWF0IjoxNzE3MzM3ODI5LCJleHAiOjMzMjIxODAxODI5fQ.xZmcZMzwmbCg2d4KAUV2Rljn7gKNONawS_h4Hdy0gas&t=2024-06-02T14%3A17%3A09.538Z)\
\
![Game Play](https://yxdrsdfocuonvorowgaa.supabase.co/storage/v1/object/sign/readme.md/gameplay.PNG?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJyZWFkbWUubWQvZ2FtZXBsYXkuUE5HIiwiaWF0IjoxNzE3MzM4MDMxLCJleHAiOjMzMjIxODAyMDMxfQ.fVkeGYVkkaKZfHFC6EC7jtiwsEwODnaIx6enHhmouG8&t=2024-06-02T14%3A20%3A31.742Z)
4 changes: 2 additions & 2 deletions trivia-forge/frontend/src/pages/signUpPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ function SignUpPage() {
// call addUser function to add new user to database
const addedUser = await addUser(user);
if (addedUser) {
alert('User added:', addedUser);
alert('Account activated!');
navigate('/');
} else {
console.error('Error adding user');
console.error('Error signing up');
}
}

Expand Down

0 comments on commit 575144d

Please sign in to comment.