Table of Contents
This is the frontend code for the Gamopedia Web app. It's like an encyclopedia for video games where you can get detailed information about any video game you want. Information includes Developer, Publisher, release date, Stores, Screenshots, etc.
The information is fetched from RAWG Video Game Database through an API request.
To get a local copy up and running follow these simple example steps.
- npm
-
Clone the repo
git clone https://github.com/Geralt-Of-Rivia-Witcher/Gamopedia_Frontend
-
Install NPM packages
npm install
-
If you have your backend deployed on a cloud service like "Heroku", then create a
.env
file and paste your backend URL in it.BACKEND_URL = 'YOUR BACKEND URL'
otherwise, React will make a post request at "http://localhost:5000/"
-
Start the development server.
npm start
Open "http://localhost:3000" to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
This Frontend code will send a post
request to the backend to get the game info.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b branch_name
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin branch_name
) - Open a Pull Request