Skip to content

longtv2222/IGDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

IGDB

IGDB is an acronym for International Game Database. This project provides a RESTful API services for users to do CRUD operations with JSON with given game data in the database. IGDB is considered as a 'Wikipedia' so that you can easily search information of everything that involves video games!

To check out the website, please go to the following link : https://igdb.myigdb.tech/

Built With

Getting Started

Prerequisite

  • Make sure you have Node.js downloaded in your machine.

Installation

  1. Clone the repository: git clone https://github.com/longtv2222/IGDB.git

  2. Using your favorite terminal, cd into backend folder and install necessary libraries:

    npm install

Run the program:

Program Usage with Postman:

  • Make sure you have Postman in your machine.

  • IGDB provides 2 options for user. If you are a paid user, you will have access to view, edit, update and delete information. If you are a free user, the content you view will be restricted to read only.

  • To sign up as a paid user, navigate to the following endpoint: http://localhost:8000/client/paid_user/signup and enter the data in body field username and password. This request is considered as a post request.

ScreenShot

ScreenShot

  • After that there will be a token generated and everytime you make a patch, post or delete request, you should have your token put in the header with the key as token and value is the value generated in the previous image. The following image demonstrates how you should do this.

ScreenShot

Documentation

  • Please refer to this document for detailed information on all IGDB's endpoints.

License

  • This project is licensed under the Apache-2.0 License - see the LICENSE file for more details.