July 2018
Intermediate to advanced
324 pages
8h 14m
English
Let's see what a minimal Flask application looks like:
from flask import Flaskapp = Flask(__name__)@app.route('/')def index(): return 'Hello World!'
That's it, we are done with the minimal Flask application. It's very simple to configure and create a microservice with Flask.
Let's discuss what exactly the preceding code is doing and how we would run the program:
Read now
Unlock full access