1# This is the code
2# Find me on discord ZDev1#4511
3# We shouldn't install flask in the terminal, it is already imported
4from flask import Flask
5
6app = Flask(__name__)
7
8# route
9@app.route('/')
10# route function
11def home():
12 # send 'hey!'
13 return 'hey!'
14
15# listen
16if __name__ == "__main__":
17 app.run(port=3000)
18 # if you need to make it live debuging add 'debug=True'
19 # app.run(port=3000, debug=True)
20
21 # Hope you enjoyed ;)