Add initial Flask application and update README with setup instructions

This commit is contained in:
Sam 2025-12-09 21:57:56 -06:00
parent 9a1166a304
commit c07d9188e9
3 changed files with 14 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# website-backend
Run pip install -r requirements.txt to install the necessary dependencies.
Run python app.py to start the backend server for the website.

10
app.py Normal file
View File

@ -0,0 +1,10 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
if __name__ == "__main__":
app.run(debug=True)

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
flask~=3.1.2