BASIC URL SHORTNER API

how to run

  • make run this command will run and build the docker-compose
  • make serve this will run the server

Routes

  • localhost:8080/shorturl this is a post method add a url and it will return you a shortned url eg: localhost:8080?url=rfBd copy paste this in you browser