r0s.io URL shortener
docker-compose up # --build if first time
docker exec -ti url-db mongo # connect to db
cd services/server
yarn run dev
cd services/client
yarn run start
# Create a new shorten url
curl localhost:8000/s -H "Content-Type: application/json" -XPOST --data '{"originalUrl":"https://www.espn.com","shortBaseUrl":"https://r0s.io"}'
# Access shortened url
curl localhost:8000/s/{urlCode from previouse response}