This is a test work from Web Department of Unigine Company.
- Install Docker Compose
- Install Git
- Clone this repository
- Put
127.0.0.1 url-shortener.loc
into your hosts file - Run
docker-compose up
in the root of the repository - Go to
http://url-shortener.loc
in your browser
- To encode
someurl
you can use/encode-url?url=someurl
endpoint - To decode
somehash
you can use/decode-url?hash=somehash
endpoint