Skip to content

flaviomicheletti/python-flask

Repository files navigation

Flask Repos

Flask Repos

This repository contains a collection of examples showcasing the usage of the Flask framework. Each application in this repository is independent and has its own requirements.txt file.

Environment Setup

To set up the environment, follow these steps:

  1. Create a virtual environment:

    python3 -m venv .venv

  2. Activate the virtual environment:

    . .venv/bin/activate

  3. All in one

    python3 -m venv .venv && . .venv/bin/activate

In each application

run:

flask --app main run

run tests:

python -m unittest discover -v

coverage:

coverage run --source=./ -m unittest discover
coverage report -m && coverage html

Articles

Here are some useful articles related to Flask:

Feel free to explore the examples in this repository and refer to the Flask documentation for more information: Flask Documentation.

This enhanced version provides a clearer structure for the README file, includes instructions for setting up the environment, and formats the articles section for better readability. It also includes a link to the Flask documentation at the end.

About

A deep dive into Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published