Skip to content

djetzen/flask_workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This workshop will provide a short introduction to Flask and how to write some simple webservices in Python. The app will then afterwards be deployed with Docker.

Prerequisites

Please have Python and Docker installed on your machine. Python should be version 3, as version 2 is EOL. It would also be very helpful to have an IDE installed which is capable of editing Python files.

Installation

To install all the dependencies, please navigate to the root folder and call pip3 install -r requirements.txt to get a working environment.

Exercises

Have a look at the exercises inside the exercise folders. In each folder there is a markdown file with further instructions.

  1. Simple Webservice
  2. Parameters
  3. Blueprints
  4. static files
  5. Testing
  6. Docker deployment

Executing exercises

Navigate to the root directory and run python3 -m <package>.<pythonFileName>

Solutions

The solutions are inside the solutions folder.

About

Introduction to Flask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published