Simple server for calling codewars api with an "Access-Control-Allow-Origin" header for your domain.
git clone https://github.com/10XL/kemal-codewars-relay
cd kemal-codewars-relay && shards install
crystal run src/codewars-relay.cr
Use heroku-buildpack-crystal OR
Make sure to set a Config Variable "YOUR_DOMAIN".
Two endpoints are supported:
- Fork it ( https://github.com/10XL/kemal-codewars-relay/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