Product Engineer Assignment.
Product Engineer Assignment.
One important thing: Don’t commit all of your code as a single commit - do commit logical units of work
so we can see the work as you built it up. Intermediate/working commits won’t affect the way we
judge the end result. Please add anju-infracloud as a collaborator to the project and push to a PRIVATE
github repository.
Assignment
1. Build a simple URL shortener service that will accept a URL as an argument over a REST API and
return a shortened URL as a result.
a. If you have not used or seen a URL shortener before - please visit h ps://bitly.com/ and
try to SHORTEN a URL. The goal in this assignment is not to build a fancy UI but an API
only version of that.
2. The URL and shortened URL should be stored in memory by applica on.
a. [BONUS] Instead of in memory, store these things in a text file.
3. If I again ask for the same URL, it should give me the same URL as it gave before instead of
genera ng a new one.
4. [BONUS] Put this applica on in a Docker image by wri ng a Dockerfile and provide the docker
image link along with the source code link.
https://www.infracloud.io