A basic HTTP proxy and url shortener written in Crystal.
Forwards to the URL that was registered with :code
Register the URL :url
with a given code. The code should be specified in the POST
body with JSON:
{
"url": "some URL here"
}
Delete the given :code
from the registry.
All you need is the Crystal toolchain to build and run this project. Go here to learn how to install the toolchain.
When you have it installed, pull down the dependencies:
$ shards install
When that's done, run the app:
$ crystal run