-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
38 lines (27 loc) · 812 Bytes
/
app.py
File metadata and controls
38 lines (27 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from flask import Flask, request, render_template
#import firebase_admin
#from firebase_admin import credentials
#cred = credentials.Certificate("<filename.json>")
#firebase_admin.initialize_app(cred)
#db = firestore.client()
app = Flask(__name__)
@app.route("/")
def home():
return render_template('index.html')
@app.route("/signIn")
def signIn():
return render_template('signIn.html')
@app.route("/calendar")
def calendar():
return render_template('calendar.html')
@app.route("/toDoList")
def toDoList():
return render_template('toDoList.html')
@app.route("/accountInfo")
def accountInfo():
return render_template('accountInfo.html')
@app.route("/settings")
def settings():
return render_template('settings.html')
if __name__ == "__main__":
app.run(debug=True, port=5000)