SQLAlchemy + Flask for Beginners with project - #2 App Factory & Config
Автор: The Python Mentor
Загружено: 2025-10-02
Просмотров: 65
Описание:
👉 Download Project Assets - https://d3jvccu5uv6ada.cloudfront.net...
👉 Flask crash course → • Flask Python Crash Course | Build Web Apps... 👉 This Playlist - • SQLAlchemy + Flask for Beginners with project
👉 On this lesson: Add a Config class, load it in the app, and prepare a stable SQLite path in the instance/ folder.
Welcome to the SQLAlchemy + Flask for Beginners (Contacts App) series! 🚀
We’re building a real, clean Flask web app step-by-step using Flask, SQLAlchemy (ORM), SQLite, Jinja templates, and Tailwind CSS (via CDN). Everything is beginner-friendly and works on Windows/macOS/Linux.
What you’ll learn in this playlist:
Set up a professional app factory with a tidy project structure.
Configure SQLite safely (instance folder) and wire Flask-SQLAlchemy.
Design models, constraints, and relationships (one-to-many, many-to-many).
Master sessions: add / commit / rollback (and common pitfalls).
Build full CRUD: create, list, edit, delete (POST-Redirect-GET).
Add validation, handle IntegrityError (unique email), and enable CSRF.
Implement search, sort, and pagination for real UX.
Seed data with a Flask CLI (Faker) for fast demos.
Prepare for growth: intro to Alembic migrations and environment-based configs.
Keep the UI modern and minimal with Tailwind (no heavy JS).
Why this series:
Short, focused lessons (3–6 min) with copy-pasteable code
Minimal Jinja logic and clean diffs so you can teach or learn efficiently
Perfect for beginners who want a practical Flask + SQLAlchemy foundation
Prereqs:
Python 3.x installed
Basic terminal usage (we’ll guide you)
If this helps, consider liking/subscribing and dropping questions in the comments. 💬
#flask #python #sqlalchemy #sqlite #tailwindcss #webdev #beginners #windows #macos #thepythonmentor
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: