Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morpheusgraphql/mythology-api
GraphQL APIs of ancient mythology
https://github.com/morpheusgraphql/mythology-api
Last synced: about 2 months ago
JSON representation
GraphQL APIs of ancient mythology
- Host: GitHub
- URL: https://github.com/morpheusgraphql/mythology-api
- Owner: morpheusgraphql
- Created: 2019-04-27T13:24:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T08:58:28.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T19:45:43.576Z (almost 2 years ago)
- Language: Haskell
- Size: 3.06 MB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
README
# Mythology GraphQL API
GraphQL APIs of ancient Greek mythology build with Morpheus GraphQL and Haskell
### Setup
## serverless ofline
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/`
```GraphQL
query GetDeity {
deity (name: "Morpheus") {
fullname
power
}
}
```our query will be resolved!
```JSON
{
"data": {
"deity": {
"fullname": "Morpheus",
"power": "Shapeshifting"
}
}
}
```## Online Example
Mythology API is deployed on : [_api.morpheusgraphql.com_](https://api.morpheusgraphql.com) where you can test it with `GraphiQL`
## About
### Morpheus GraphQL
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](https://morpheus-graphql-slack-invite.herokuapp.com/) to get in touch.## Roadmap
- Medium future:
- Fill content with Greek mythology
- Long term:
- Support of other mythologies