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

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

Notifications You must be signed in to change notification settings

ngshiheng/doggos

Repository files navigation

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