Skip to content

Get calls to the IGDB API v3 up and running with Vue, Vue CLI, and axios using the built-in proxy server.

Notifications You must be signed in to change notification settings

evild70/vue-igdb-api-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-igdb-api-v3

Get calls to the IGDB API v3 up and running with Vue, Vue CLI, and axios using the built-in proxy server.

Requires


1. Project setup

  • Download/clone this repo. Go to repo directory and...
$ npm install

2. Edit App.vue

  • After install, edit src/App.vue with your IGDB API Key and port number of where the app is running locally (usually 8080).
axios({
    url: "http://localhost:[PORT_NUMBER]/games",
    method: 'POST',
    headers: {
        'Accept': 'application/json',
        'user-key': '[API_KEY]'
    },
    data: 'fields name; limit 10;'
});

3. Serve locally

$ npm run serve

Vue CLI Custom configuration

See Configuration Reference.


Resources


Related

igdb-js-proxy

About

Get calls to the IGDB API v3 up and running with Vue, Vue CLI, and axios using the built-in proxy server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published