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.
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.
To install all the dependencies, please navigate to the root folder and call pip3 install -r requirements.txt
to get a working environment.
Have a look at the exercises inside the exercise folders. In each folder there is a markdown file with further instructions.
- Simple Webservice
- Parameters
- Blueprints
- static files
- Testing
- Docker deployment
Navigate to the root directory and run python3 -m <package>.<pythonFileName>
The solutions are inside the solutions folder.