GraphQL APIs of ancient Greek mythology build with Morpheus GraphQL and Haskell
As Morpheus is quite new, make sure stack can find morpheus-graphql by running stack update
npm i
npm start
after that, you cent check it out on http://localhost:3000/
query GetDeity {
deity (name: "Morpheus") {
fullname
power
}
}
our query will be resolved!
{
"data": {
"deity": {
"fullname": "Morpheus",
"power": "Shapeshifting"
}
}
}
Mythology API is deployed on : api.morpheusgraphql.com where you can test it with GraphiQL
Build GraphQL APIs with your favourite functional language!
Morpheus GraphQL helps you to build GraphQL APIs in Haskell with native haskell types. Morpheus will convert your haskell types to a GraphQL schema and all your resolvers are just native Haskell functions.
Morpheus is still in an early stage of development, so any feedback is more than welcome, and we appreciate any contribution! Just open an issue here on GitHub, or join our Slack channel to get in touch.
- Medium future:
- Fill content with Greek mythology
- Long term:
- Support of other mythologies