- This is a url shortening service that provides a shorturl for any given longurl.
- For design documentation of the project look at design_doc.pdf.
- For API documentation do one of following
- Look at api_doc.pdf
- Set up the app locally and look at
swagger-ui
- Clone the project.
- Set up the
virtualenv
for the project.pip3 install virtualenv
virtualenv venv
source venv/bin/activate
- Install the requirements
pip3 install -r requirements.txt
- Run the project
FLASK_APP=./src/shorturl/run.py FLASK_DEBUG=1 flask run
- Access the swagger-ui at following url.
http://127.0.0.1:5000/v1/ui
- Write code by following the openAPI spec (Generated stubs from openAPI specificaion.yml file).
- Write a basic architecture for url shortening that can easily scale on aws.
- Various tools available on AWS for scaling the deployed service (i.e. autoscaling group, load balancer).
- Write an application using
python
andflask
.