https://github.com/throughnothing/purescript-graphql
Purescript GraphQL Library
https://github.com/throughnothing/purescript-graphql
graphql javascript purescript
Last synced: about 1 year ago
JSON representation
Purescript GraphQL Library
- Host: GitHub
- URL: https://github.com/throughnothing/purescript-graphql
- Owner: throughnothing
- License: unlicense
- Created: 2017-04-06T16:44:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-24T18:55:42.000Z (about 9 years ago)
- Last Synced: 2025-03-29T22:28:49.833Z (about 1 year ago)
- Topics: graphql, javascript, purescript
- Language: PureScript
- Size: 45.9 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# purescript-graphql
[](https://travis-ci.org/throughnothing/purescript-graphql)
A graphQL library written in purescript.
_The status is currently WIP and very alpha. See Status section for more info._
It is based off the Facebook [GraphQL Spec](https://facebook.github.io/graphql/#EnumValue)
and heavily influenced by the
[graphql-haskell](https://github.com/jdnavarro/graphql-haskell/blob/master/Data/GraphQL/AST.hs)
implementation.
## Goals
The `purescript-graphql` project aims to be a fast, type safe, easy-to-use,
implementation of the GraphQL spec in Purescript that can provide both a
server and a client for purescript applications. At some point, various parts
of this projcet may be broken out into separate client/server, or other libraries.
## Status
- [X] GraphQL AST
- [X] Travis CI Builds
- [X] Document Parser
- [X] Comment support in Document parser
- [X] Document Transformer (AST -> Simplified Version)
- [ ] [Validate](https://facebook.github.io/graphql/#sec-Validation) Schema on Transformation
- [ ] Executor + Resolvers/Schema (Query)
- [ ] Document/AST Printer
- [ ] Executor (Mutation)
- [ ] Executor (Multiple Queries/Mutations)
- [ ] Variable Substitution in Querie
- [ ] Documentation
- [ ] Examples
- [ ] Release to Pursuit when useable
- [X] Purescript 0.11 support (when ready)
## Getting Started
* `git clone https://github.com/throughnothing/purescript-graphql`
* `npm install`
* `bower install`
## Building the library
* `npm run build`
## Running the tests
* `npm run test` or `pulp test`