โ† Flask learning path
Flask ยท Module 1 of 10

Hello Flask

Flask is a lightweight Python web framework you can learn in an afternoon.

๐Ÿ“– Key ideas

  1. Flask is a micro-framework: small core, add extensions as needed.
  2. pip install flask.
  3. app = Flask(__name__) and @app.route("/") define a page.
  4. Run with flask --app app run --debug.
  5. Great for APIs, prototypes and small to medium apps.
๐Ÿ’ก Real-life example: Flask is an empty studio flat: you choose and add only the furniture you need.
FlaskMicro web framework for Python
@app.routeDecorator mapping a URL to a function
Debug modeAuto-reload and detailed errors
ExtensionAdd-on like Flask-SQLAlchemy