Because motivation is too over rated
Report Bug
ยท
Request Feature
Retrieve a random demotivational quote or all demotivational quotes, This is a simple graphQL API. Contributions or feature ideas are welcome. You can see the Live version Playground here:
demotivation-quotes-api.herokuapp.com ๐ค
negative-space.netlify.app ๐ค
Repo
- quotes (retrives all the quotes)
- randomQuote (retrives a random quote from the QuotesData)
query {
quotes {
id
quote
author
}
}
query {
randomQuote {
id
quote
author
}
}
{
"data": {
"randomQuote": {
"id": "6",
"quote": "Those who doubt your ability probably have a valid reason.",
"author": "unknown"
}
}
}
For running this project locally, you must fork this project first. Then,
yarn
yarn start # Using nodemon for auto-reloading
The server starts at http://localhost:4000/
Aravinda Siva โ LinkedIn โ aravindcva@hotmail.com