mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Cleanup and added readme
This commit is contained in:
14
app.py
Normal file
14
app.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from application import app
|
||||
from application.api.views import api_blueprint
|
||||
|
||||
app.register_blueprint(api_blueprint)
|
||||
|
||||
|
||||
# Default app route
|
||||
@app.route("/")
|
||||
def home():
|
||||
return "Hello, World!"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="192.168.137.1", port=2222, debug=True)
|
||||
Reference in New Issue
Block a user