Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Latest commit

 

History

History
86 lines (65 loc) · 1.17 KB

README.md

File metadata and controls

86 lines (65 loc) · 1.17 KB

Doggos 🐕

Netlify Status

Just a server-side REST wrapper for Dog API built with GraphQL.

https://doggos-api.netlify.app/
            ,
            |`-.__
            / ' _/
           ****`
          /    }
         /  \ /
     \ /`   \\\
      `\    /_\\
       `~~~~~``~`

Local Usage

  1. yarn install

  2. yarn start

  3. Make the queries in the GraphQL Playground

Tryout on Netlify

https://doggos-api.netlify.app/

List of available queries

Dog API Documentation

List all breeds

{
    listAllBreeds
}

Fetch a random dog image

{
    randomImage {
        message
        status
    }
}

By breed

{
    byBreed {
        message
        status
    }
}

List all sub-breed

{
    bySubBreed {
        message
        status
    }
}

Browse by a breed

query {
    breed(type: "african") {
        message
        status
    }
}