# miguelgrinberg/flasky

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/miguelgrinberg-flasky).**

8,747 stars · 4,264 forks · Python · MIT

## Links

- GitHub: https://github.com/miguelgrinberg/flasky
- awesome-repositories: https://awesome-repositories.com/repository/miguelgrinberg-flasky.md

## Topics

`flask` `python`

## Description

Flasky is a complete web application example and tutorial designed to demonstrate professional development patterns using the Flask framework. It serves as a practical implementation of a web service to teach server-side development, application structure, and the use of a Python object-relational mapper for database applications.

The project provides a containerized environment that packages the web application and its database dependencies into isolated images. This ensures consistent behavior across different hosting platforms and includes configurations for production-grade server deployment.

The application incorporates architectural patterns for modularization and testing, including schema versioning and server-side rendering. It also covers application performance profiling and the execution of unit test suites to verify logic and track code coverage.

## Tags

### Web Development

- [Flask Application Examples](https://awesome-repositories.com/f/web-development/flask-application-examples.md) — Provides a complete, professional-grade example of a web application built using the Flask framework.
- [Web Application Development](https://awesome-repositories.com/f/web-development/web-application-development.md) — Implements a complete full-stack web application to demonstrate professional server-side development and architecture. ([source](https://github.com/miguelgrinberg/flasky/blob/master/README.md))
- [Flask Framework Implementations](https://awesome-repositories.com/f/web-development/flask-framework-implementations.md) — Provides a complete web service implementation specifically using the Flask framework to teach server-side development.
- [Web Applications](https://awesome-repositories.com/f/web-development/web-applications.md) — Ships as a complete full-stack web application packaged within a Dockerized environment.
- [Server-Side Rendering](https://awesome-repositories.com/f/web-development/server-side-rendering.md) — Uses Jinja2 to generate dynamic HTML pages by rendering templates on the server before delivery.

### Data & Databases

- [Object-Relational Mapping](https://awesome-repositories.com/f/data-databases/object-relational-mapping.md) — Integrates SQLAlchemy to map database tables to Python classes for high-level object-oriented data manipulation.
- [ORM Implementation Examples](https://awesome-repositories.com/f/data-databases/application-database-management/orm-implementation-examples.md) — Demonstrates professional database schema management and relationship mapping using the SQLAlchemy ORM.

### DevOps & Infrastructure

- [Application Containerization](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/application-containerizers/application-containerization.md) — Provides a containerized environment that packages the web application and its database dependencies into isolated images.
- [Containerized Application Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-application-deployments.md) — Packages the application and database dependencies into portable container images for consistent deployment. ([source](https://github.com/miguelgrinberg/flasky/blob/master/docker-compose.yml))
- [Production Environment Configurations](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/configuration-policy-enforcement/production-environment-configurations.md) — Configures a production-grade server environment tailored for stability and handling incoming web requests.
- [Web Application Deployment](https://awesome-repositories.com/f/devops-infrastructure/web-application-deployment.md) — Includes configurations for deploying the application to a production-grade server. ([source](https://github.com/miguelgrinberg/flasky/blob/master/Procfile))

### Education & Learning Resources

- [Web Framework Tutorials](https://awesome-repositories.com/f/education-learning-resources/educational-resources/reference-and-media/tutorials-media-curated-lists/technical-tutorials/application-development/web-development-tutorials/web-framework-tutorials.md) — Serves as a practical guide for implementing server-side development and robust web backend architectures.

### Software Engineering & Architecture

- [Application Factories](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-scopes/application-configuration/application-factories.md) — Implements the application factory pattern to create pre-configured application instances for better testing and configuration support.
- [Database Schema Migrations](https://awesome-repositories.com/f/software-engineering-architecture/data-migrators/database-schema-migrations.md) — Employs Flask-Migrate to track and automate database schema versioning without data loss.
- [Modular Feature Architectures](https://awesome-repositories.com/f/software-engineering-architecture/modular-feature-architectures.md) — Uses blueprints to organize the codebase into independent modules, decoupling features and simplifying the project structure.

### Testing & Quality Assurance

- [Automated Test Suites](https://awesome-repositories.com/f/testing-quality-assurance/automated-test-suites.md) — Includes a suite of automated tests using pytest to verify application logic and track code coverage.
- [Application Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/end-to-end-testing-suites/application-testing.md) — Implements application testing by executing test suites and generating code coverage reports.
- [Unit Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing.md) — Provides the capability to execute unit tests in isolation to verify core application logic. ([source](https://github.com/miguelgrinberg/flasky/blob/master/flasky.py))
