Before attempting to contribute, make sure you have the required software:
If you have never used Git or Github before, this video helps: https://www.youtube.com/watch?v=mJ-qvsxPHpY
Here is how you can contribute to this project:
- Create the necessary database for this project. All the commands needed can be found in
.../game-shop-server/db/db.sql
. To avoid any errors, you should use the same credentials, which can be found in.../game-shop-server/.env
. If this is your first time using PostgreSQL, you can watch the first 37 minutes of this video(but use the info in/.env
): https://www.youtube.com/watch?v=J01rYl9T3BU. - Fork this project to your account
- Clone your fork
- In your cloned project:
cd game-shop-server
- Install the project's dependencies:
npm install
- Do the same for game-shop-client:
cd game-shop-client
andnpm install
- In
game-shop-server
, start up the API server by running this command:npm start
- In
game-shop-client
, start up the frontend server by running this command:npm run dev
- You will be able to see the web app in your browser at: https://localhost:3000/ and the API response at https://localhost:3002/api/v1/products
- Code up your solution and commit it to your fork.
- Make a pull request and I'll accept it if it works.
- Billing Tab:
.../game-shop-client/pages/billing/index.js
- Unit Converter Tab:
.../game-shop-client/pages/unit-converter/index.js
- Inventory Tab:
.../game-shop-client/pages/inventory/index.js