https://github.com/skillmaker-dev/gamehubbackend
This is Game Hub a website where you could search for video games, view details, add to favorites...
https://github.com/skillmaker-dev/gamehubbackend
Last synced: 11 months ago
JSON representation
This is Game Hub a website where you could search for video games, view details, add to favorites...
- Host: GitHub
- URL: https://github.com/skillmaker-dev/gamehubbackend
- Owner: skillmaker-dev
- Created: 2024-01-14T16:54:24.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T13:52:48.000Z (about 2 years ago)
- Last Synced: 2025-01-28T16:16:59.337Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Table of Contents
## About The Project
This is Game Hub a website where you could search for video games, view details, add to favorites...
I created this website in React.ts only the first time then I created the backend using ASP.NET 8 to make a fullstack application, the backend and frontend are separated in different repositories, see the frontend repository [here](https://github.com/skillmaker-dev/game-hub)
The app uses [RAWG](https://rawg.io/apidocs) API to get data about the games.
### Built With
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
* 
* 
* 
* 
* 
* 
* 
* 
* 
## Getting Started
**For the React app you can start it using the following commands**:
```sh
npm install
npm run dev
```
To get the app up and running, follow the steps below:
* First, generate a valid dev certificate in your local machine using the following commands:
- on Windows:
```sh
dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\gamehub.pfx -p gamehub123
dotnet dev-certs https --trust
```
>**Note: When using PowerShell, replace `%USERPROFILE%` with `$env:USERPROFILE`.**
- on Mac:
```sh
dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p gamehub123
dotnet dev-certs https --trust
```
* Then run docker compose file using the following command:
```sh
docker-compose up
```
>**Note: run the command on the root folder of the project**
- You can now use swagger UI on the following link: https://localhost:7023/swagger/index.html
- Visit this link then to view a live demo of the frontend app: https://aesthetic-manatee-2ad4b8.netlify.app/
* When using the app, you might want to create an account using the frontend app, in that case a confirmation email will be sent to you, you can view the emails on the local smtp server using the following link: http://localhost:3000/
* If you want to login using Swagger UI, don't forget to set the useCookies query parameter to true
## Prerequisites
- You will need the following things before being able to work with the project if you aren't running the app via docker:
* .NET 8
* smtp4dev
- You will need the following things before being able to work with the react project:
* Node.js
* Vite
For the frontend, you can visit the [hosted app](https://aesthetic-manatee-2ad4b8.netlify.app/) on netlify or you can dive inside the project in this [repository](https://github.com/skillmaker-dev/game-hub)
## Screenshots








## Contact
* You can visit my website and send me messages via the contact form: [Website](https://anaschahid.work/)
* Visit my linkedin profile: [Linkedin](https://www.linkedin.com/in/anas-chahid/)