Skip to content

workaround for CORS when calling codewars api from a browser.

License

Notifications You must be signed in to change notification settings

10XL/kemal-codewars-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codewars-relay

Simple server for calling codewars api with an "Access-Control-Allow-Origin" header for your domain.

Installation

git clone https://github.com/10XL/kemal-codewars-relay
cd kemal-codewars-relay && shards install
crystal run src/codewars-relay.cr

Heroku

Use heroku-buildpack-crystal OR Deploy

Make sure to set a Config Variable "YOUR_DOMAIN".

Usage

Two endpoints are supported:

Contributing

  1. Fork it ( https://github.com/10XL/kemal-codewars-relay/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

workaround for CORS when calling codewars api from a browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published