GithubHelp home page GithubHelp logo

skillmaker-dev / gamehubbackend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 89 KB

This is Game Hub a website where you could search for video games, view details, add to favorites...

Dockerfile 1.68% C# 98.32%

gamehubbackend's Introduction

image


Game Hub

View Demo
Don't forget to run the backend app first

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact

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
The app uses RAWG API to get data about the games.

(back to top)

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.

  • .Net
  • React
  • TypeScript
  • Chakra
  • React Query
  • React Router
  • Vite
  • Netlify
  • Docker

(back to top)

Getting Started

For the React app you can start it using the following commands:

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:
    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:
    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:

    docker-compose up

    Note: run the command on the root folder of the project

  • 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 on netlify or you can dive inside the project in this repository

Screenshots

image image image image image image image image

Contact

  • You can visit my website and send me messages via the contact form: Website
  • Visit my linkedin profile: Linkedin

(back to top)

(back to top)

gamehubbackend's People

Contributors

skillmaker-dev avatar

Stargazers

Loveneet Singh Chahal avatar

Watchers

 avatar

Forkers

loveneetchahal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.