First login done

This commit is contained in:
victor
2024-12-06 00:27:27 +01:00
parent 28ac497c57
commit 13fe482956
4 changed files with 60 additions and 0 deletions

15
server.py Normal file
View File

@@ -0,0 +1,15 @@
from app import create_app
from flask import render_template, session, redirect
app = create_app()
@app.route('/', methods = ['GET'])
def index():
userId = session.get('userId')
if userId:
return "test"
else:
return "test"
if __name__ == "__main__":
app.run(debug=True, port="8080")