Flask
Flask is a lightweight Python web framework known for its minimalism, flexibility, and 'micro-framework' philosophy of providing only the core tools needed to build a web application.
32 resources across 2 libraries
Glossary Terms(6)
Python
Python is a versatile, high-level, dynamically typed programming language known for its readable syntax, widely used across web development, automation, data s…
Celery
Celery is an open-source distributed task queue for Python that lets applications run work asynchronously and on a schedule — offloading slow or delayed jobs t…
FastAPI
FastAPI is a modern, high-performance Python web framework for building APIs, built on standard Python type hints and designed for speed of development and exe…
Flask
Flask is a lightweight Python web framework known for its minimalism, flexibility, and 'micro-framework' philosophy of providing only the core tools needed to…
Django
Django is a high-level, open-source Python web framework that follows a "batteries-included" philosophy, providing built-in tools for authentication, admin int…
SQLAlchemy
SQLAlchemy is a Python SQL toolkit and Object-Relational Mapping (ORM) library that provides both a full ORM layer and a lower-level Core for writing expressiv…
Study Notes(26)
Building REST APIs with Flask
Learn how to design and implement RESTful APIs in Flask using route decorators, HTTP verbs, and JSON responses.
Creating a Flask Application
Learn to set up a Flask project with a virtual environment, understand the central application object, and run the development server safely.
Database Migrations with Flask-Migrate
Manage evolving database schemas safely using Flask-Migrate's Alembic-backed migration workflow.
Defining Models in Flask
Learn how to declare Flask-SQLAlchemy models with columns, types, constraints, and relationships.
Deploying a Flask App
A practical guide to taking a Flask application from local development to a secure, production deployment using Docker, environment configuration, and health c…
Error Handling in Flask
How to use abort(), @app.errorhandler, and logging to turn expected HTTP errors and unexpected exceptions into consistent, safe responses.
Flask Application Factories
Why and how to build Flask apps with a create_app() factory function, enabling multiple configured instances, easier testing, and fewer circular imports.
Flask Application Structure
Learn how to organize a growing Flask project using the application factory pattern, Blueprints for modularity, and conventional templates/static/config layout…
Flask Blueprints
Organize a growing Flask application into modular, reusable components using Blueprints.
Flask Configuration Management
Layering config classes, environment variables, and .env files to manage Flask settings and secrets safely across development, testing, and production.
Flask Extensions Overview
A tour of the Flask extension ecosystem, covering how extensions plug into Flask's minimal core, the init_app pattern, and how to evaluate a new extension befo…
Flask Forms with WTForms
Use Flask-WTF and WTForms to define form fields declaratively, validate user input server-side, and protect submissions with CSRF tokens.
Flask Interview Questions
A curated set of common Flask interview questions covering core concepts, application structure, and debugging, with explanations to help you prepare.
Flask-Login Explained
Learn how the Flask-Login extension manages user sessions, the UserMixin interface, and route protection with login_required.
Flask Middleware and Hooks
Using before_request, after_request, teardown hooks, and WSGI middleware to run shared logic like timing, headers, cleanup, and proxy handling around every req…
Flask Quick Reference
A condensed cheat sheet covering Flask routing, request/response handling, context objects, and CLI essentials for quick lookup while coding.
Flask-RESTful and jsonify
Explore how Flask-RESTful's class-based Resources and Flask's jsonify() work together to structure clean, consistent JSON APIs.
Flask-SQLAlchemy Basics
Learn how Flask-SQLAlchemy wires the SQLAlchemy ORM into a Flask app, from configuration to sessions.
Flask with Gunicorn and WSGI
Understand the WSGI standard that powers Flask and how to run Flask applications in production using Gunicorn as an application server.
Querying with Flask-SQLAlchemy
Master filtering, joining, and optimizing database queries using Flask-SQLAlchemy's query interface.
Routing in Flask
Understand how @app.route binds URLs to view functions, how dynamic URL converters validate input, and how to handle HTTP methods and generate URLs with url_fo…
Session Management in Flask
Understand how Flask's signed cookie-based sessions work, their limitations, and how to configure them securely.
Static Files in Flask
Understand how Flask serves CSS, JavaScript, and images from the static folder, how to reference them safely with url_for, and how to prepare static assets for…
Testing Flask Applications
Learn how to write reliable unit and integration tests for Flask apps using pytest, the Flask test client, and fixtures for database and app context.
Showing 24 of 26.