kemal-graphql-example
kemal-graphql
Coupling of kemal, grapqhiql and graphql-crystal.
Installation
Clone the git repository, enter the repository directory and run :
shards
to install all the dependencies.
Usage
build the project with
crystal build --release src/kemal-graphql.cr
and start the server with
./kemal-graphql
or run it directly with (use the release flag to see the best performance)
crystal run [--release] src/kemal-graphql.cr
now you can open up a browser and go to http://localhost:3000/index.html to explore the graphql schema.
Development
run specs with
KEMAL_ENV=test crystal spec
Contributing
- Fork it ( https://github.com/ziprandom/kemal-graphql/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [ziprandom] - creator, maintainer
- [Facebook GraphQL] - creator of graphiql
Repository
kemal-graphql-example
Owner
Statistic
- 0
- 0
- 0
- 0
- 3
- about 6 years ago
- October 11, 2018
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 09:31:18 GMT
Languages