Skip to content

GAMESHELF: Discover, track, and share your gaming journey with a community of passionate gamers. Core Functionality: A platform where users can browse games and catalog their game collections, rate and review games, and create custom favorites lists.

Notifications You must be signed in to change notification settings

jsnorek/GAMESHELF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAMESHELF

Screenshot 2024-11-05 at 4 34 07 PM

Discover, track, and share your gaming journey with a community of passionate gamers.

Contents

Deployed Site

Render

Core Functionality:

Back to Contents

A platform where users can browse games and catalog their game collections, rate and review games, and create a custom favorites list.

This project is built with the PERN stack.

User are able to browse/search games, see game details and user reviews, and, upon login, can add games to their lists of favorites, write and delete their game reviews, view their “shelf” of games pulled from their favorites list, and view/change their basic profile information.

ezgif com-optimize (3)

Technologies

Back to Contents

  • Frontend: React Vite, PrimeReact
  • Backend: Node.js, Express
  • Database: PostgresSQL
  • Testing: Vitest, React Testing Library (RTL), Jest

Once you have successfully setup this template and initial database, the view will look like this:

Screenshot 2024-11-05 at 4 36 53 PM

API Usage

Back to Contents

GAMESHELF uses the RAWG to populate the video game data. You can sign up for free for an account to get an API key and view API documentation here: https://rawg.io/apidocs

An account is necessary to get an API key and run this app.

Prerequisites

Back to Contents

Before you begin, ensure you have the following installed on your local machine:

Installation

Back to Contents

Follow these steps to run the app locally:

  1. Clone the repository:
    git clone [email protected]:jsnorek/GAMESHELF.git
  2. To clean your folder from the owner's git, run the command rm -rf .git inside the folder . Then re-initialize as the owner with git init.
  3. Install dependencies: Navigate to both the server and client directories and install dependencies:
    # In the server directory 
    cd server
    npm install
    
    # In the client directory
    cd client
    npm install
  4. To setup the database:
  • In a different terminal window go to the psql terminal with the comand psql and create a newdatabase with createdb gameshelf
  • Use the provided db.sql file to set up your database schema with the command psql -d blogs -f path/to/db.sql
  • Inside your server directory create a .env file and copy there the values that are in .envexample making sure to change them to your own information. Be sure to update the OPENAI_API_KEY in this file to your API key.

Running the App

Back to Contents

To run the program in your localhost browser, navigate to your server folder (cd server) and run the command node server.js to run your server. The client should now be running on http://localhost:5173. Then navigate to your client folder (cd client) and run the command npm run dev and click on the link to view the application in browser. The server should now be running on http://localhost:8080.

Drawing Board

Back to Contents

Trello Board Screenshot 2024-11-05 at 4 42 17 PM

Final Pitch

Contributing

Back to Contents

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcomed.

Stretch Goals

Back to Contents

  • AI-based game recommendations
  • Multiple lists to add games to (“Favorites,” “Wishlist,” “Currently Playing”)
  • Can add other users as “friends” and view their profiles
  • Game specific discussion boards or communities
  • User authentication
  • User badges/achievements
  • Mobile app

About

GAMESHELF: Discover, track, and share your gaming journey with a community of passionate gamers. Core Functionality: A platform where users can browse games and catalog their game collections, rate and review games, and create custom favorites lists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published