Just a command line trivial url shortener. I not implemented a real hash table yet, so probably it will not work with a lot of urls.
- Shorten urls
- implement a real hash table
sudo apt install build-essential cmake
xcode-select --install
brew install cmake
mkdir build
cd build
cmake ..
make
cd build\
make test
./bin/shortener
PUT www.url.com
xjsikxzns
GET xjsikxzns
www.url.com
type quit
to exit.