add basic flask server and requirements

This commit is contained in:
2026-01-11 13:35:41 +00:00
parent 19dff39dff
commit fd437db4eb
3 changed files with 15 additions and 2 deletions

12
server/app.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Flask
from db.database import Database
app = Flask(__name__)
db = Database(db_name='ethnograph', user='user', password='password')
@app.route('/')
def index():
return "Welcome to the Ethnograph View Server!"
if __name__ == "__main__":
app.run(debug=True)