Skip to content

unownone/link_shortener

Repository files navigation

Link_Shortener 🔗

A Link Shortener Made with Flask and mongodb 😉

Tech Stack Used

Python MongoDB Flask

Description

Enter the link you want to shorten and see the magic!

On input of a link, it returns a unique alphanumeric id for the link, and hence shortens the given link.

How to set up

  1. Clone the project on your computer
  2. Set up virtual environment
virtualenv venv
  1. Start the virtual environment
./venv/Scripts/activate
  1. Download all the requirements
pip install -r requirements.txt
  1. Make a .env file and set up variables mongo_uri master_key
  2. Now run the app!
py app.py

python version-3.9.6