HabitTracker/app.py
2024-01-10 19:22:03 +01:00

17 lines
314 B
Python

from flask import Flask, render_template
# Create a new Flask instance
app = Flask(__name__)
# Create a new route
@app.route('/')
def index():
# return 'Hello World'
return render_template('index.html', title='Home')
# Run the application
if __name__ == '__main__':
app.run(port=5000, debug=True)