Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Latest commit

 

History

History
86 lines (57 loc) · 1.6 KB

File metadata and controls

86 lines (57 loc) · 1.6 KB

The Good Review

A video games database to save your reviews!

Features

The app is based on IGDB API, which provides information on most games.

  • Search any game and find information about it (description, rating)
  • Create an account to save your favorite games and find them in the "My games" tab

The website is fully responsible and made for mobile as well as desktop web browsers.

Screenshots

Mobile

Desktop

Installation

Back-end

cd backend
npm install
cp .env.example .env

.env file setup

You have to provide your own IGDB API key, see IGDB API docs.

You may have to change the database link, based on your own setup. The database has to be PostgreSQL.

Set up the database and the Prisma client

# generate the Prisma client
npx prisma generate

# set up the database
npx prisma migrate dev

To seed the database, run the following command:

npx prisma db seed

Front-end

cd frontend
npm install
cp .env.example .env

Usage

1. Start the Vite front-end server

cd frontend
npm run dev

2. Start the Express back-end server

Open a separate terminal and start the back-end server.

cd backend
npm run dev