Skip to content

Commit 455864c

Browse files
committed
Add Flask project
1 parent 72d3c66 commit 455864c

5 files changed

Lines changed: 15 additions & 0 deletions

File tree

.bumpversion.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ pre_commit_hooks = []
2222
post_commit_hooks = []
2323
[[tool.bumpversion.files]]
2424
filename = "frontend/package.json"
25+
[[tool.bumpversion.files]]
26+
filename = "backend/_version.py"

backend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__pycache__

backend/_version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.1.0"

backend/app.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from flask import Flask
2+
3+
4+
# Initializing flask app
5+
app = Flask(__name__, static_url_path='/')
6+
7+
8+
# Running app
9+
if __name__ == '__main__':
10+
app.run(debug=True)

backend/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Flask~=3.1.2

0 commit comments

Comments
 (0)