Inspiration

LHD BUILD 2021

What it does

Simple web app

How I built it

Flask, Python

Code

Step 1 :

pip install flask

Step 2 :

from flask import flask

app = flask(_name_)

@app.route("/")
def index():
    return " welcome to the main page"
route.decorator()
@app.route("/hi/")
def who():
    return "Who are you ? "

@app.route("/hi/<username>")
def greet(username):
    return ("Hi there, (username)"

Step 3 :

py -m flask run

Built With

Share this project:

Updates