simple-graphql
![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)
The simple way to build GraphQL style API with DataBase support.
Install
npm install graphql graphql-relay simple-graphql --save
Demo
Check out the project code (https://github.com/logerzhu/simple-graphql).
cd simple-graphql
npm install # install dependencies in the main folder
npm run demo # run the demo and open your browser: http://localhost:9413/graphql
Usage
This library support FlowType (a static typechecker for JavaScript), which can help to check you model defintion.
Define the model
TODO
Supported types
- Number
- String
- Boolean
- Date
- [Number]
- [String]
- [Boolean]
- [Date]
- ObjectId with ref (reference to other document, populate)
TODO
Supported queries / mutations
TODO
Options
TODO
Test
TODO
Contributing
TODO
License
MIT