A Link Shortener Made with Flask and mongodb 😉
Python | MongoDB | Flask |
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.
- Clone the project on your computer
- Set up virtual environment
virtualenv venv
- Start the virtual environment
./venv/Scripts/activate
- Download all the requirements
pip install -r requirements.txt
- Make a .env file and set up variables
mongo_uri
master_key
- Now run the app!
py app.py
python version-3.9.6