🚀 Building a URL Shortener with Flask & SQLAlchemy In this project, I built a simple yet powerful URL shortener web app using Flask, SQLite, and SQLAlchemy. 🔑 Key highlights: User authentication with registration & login URL shortening with unique short codes Dashboard to manage your own links Fixed common pitfalls like “Working outside of application context” and missing columns in SQLite by properly setting up the database schema with app.app_context() and migrations. 💡 This project taught me how important it is to align model definitions with the actual database schema, and how to handle application context in Flask correctly. 👉 Check out the video to see the app in action — from login to shortening links and redirecting seamlessly! A big thank you to Innomatics Research Labs and Mayank Ghai sir for guiding me through this journey! 🙌 #Flask #Python #SQLAlchemy #WebDevelopment #LearningByDoing #LinkedInLearning

To view or add a comment, sign in

Explore content categories