Skip to content

ziprandom/kemal-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Fork it ( https://github.com/ziprandom/kemal-graphql/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

Exploring graphql-crystal with kemal & graphiql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published