A simple to-do app built with Flask and Flask-SQLAlchemy. Each user logs in with a username and sees only their own tasks, stored in a relational database.
🌐 Live Demo: limonyerinelimon.pythonanywhere.com
- User-based task management without password authentication
- Relational database with Users and Tasks tables
- Each task is linked to a user via a foreign key
- Automatic user creation on login if username does not exist
- Persistent storage using Flask-SQLAlchemy
- When a user enters a username:
- The app checks the
Users
table. - If the user does not exist, a new user is created.
- The app checks the
- The app then queries the
Tasks
table for any tasks tied to that user. - The user can view, add, and delete their own tasks.