To use the stater, Python3 should be installed properly in the workstation. If you are not sure if Python is properly installed, please open a terminal and type python --version. The full list with dependencies and tools required to build the app:
Python3 - the programming language used to code the app
GIT - used to clone the source code from the Github repository
Basic development tools (g++ compiler, python development libraries ..etc) used by Python to compile the app dependencies in your environment.
Start in Docker
The project comes with Docker support that allows a quick start in any environment
Step #1 - Get the source code
Download the ZIP from the product page
Use GIT tool in the terminal to clone the source code
The Flask starter exposes a short-list with data structures used globally across the app:
Constructed by Flask-Login can be used to detect if the current request is executed by an authenticated user or not. The object has global visibility and can be used in all app controllers and handlers but also in views.
How it works
app/authentication/models.py define the callback functions required by Flask-Login library:
# File: app/authentication/models.py
username = request.form.get('username')
user = User.query.filter_by(username=username).first()