Flask URL shortener is a tool that takes any URL and generates a shorter, more readable version like bit.ly.
Checkout the website: https://shorty-flask.herokuapp.com/
Watch on YouTube: https://www.youtube.com/watch?v=g6chXThUReU
- On iRead: https://iread.ga/posts/82/how-to-create-a-url-shortener-using-flask
- On freeCodeCamp: https://www.freecodecamp.org/news/python-tutorial-how-to-create-a-url-shortener-using-flask/
- On Personal Blog: https://blog.ashutoshkrris.tk/how-to-create-a-url-shortener-using-flask
.env file contents:
SECRET_KEY=verysecretkey DATABASE_URL=sqlite:///shorty.db APP_SETTINGS=config.DevelopmentConfig FLASK_APP=core While deploying the app, make sure you change the APP_SETTINGS to config.ProductionConfig.