Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/higherkindness/mu-graphql-example-reason

A ReasonML client example for our mu-haskell GraphQL server!
https://github.com/higherkindness/mu-graphql-example-reason

apollo-client apollo-graphql graphql-client haskell mu mu-haskell reason reason-apollo reason-react reasonml

Last synced: 27 days ago
JSON representation

A ReasonML client example for our mu-haskell GraphQL server!

Awesome Lists containing this project

README

        

# mu-graphql-example-reason 🚀

To run this example, you need to run the [Mu-Haskell](https://github.com/higherkindness/mu-haskell) GraphQL server example (with [Stack](https://docs.haskellstack.org/en/stable/README/#how-to-install)):

```sh
$ stack run library-graphql
```

... on another terminal...

```sh
$ npm run server # this opens up a server on http://localhost:3000
```

...and, finally, on a third terminal!

```sh
$ npm start # this gets reason code compiled to js...
```