From c07d9188e931fe6d8c780312b6066ad567c7bd15 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 9 Dec 2025 21:57:56 -0600 Subject: [PATCH] Add initial Flask application and update README with setup instructions --- README.md | 3 +++ app.py | 10 ++++++++++ requirements.txt | 1 + 3 files changed, 14 insertions(+) create mode 100644 app.py create mode 100644 requirements.txt diff --git a/README.md b/README.md index 5f7eaaa..83282d8 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/app.py b/app.py new file mode 100644 index 0000000..314a6b4 --- /dev/null +++ b/app.py @@ -0,0 +1,10 @@ +from flask import Flask + +app = Flask(__name__) + +@app.route("/") +def hello_world(): + return "

Hello, World!

" + +if __name__ == "__main__": + app.run(debug=True) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0f50983 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +flask~=3.1.2 \ No newline at end of file