-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapp.py
More file actions
41 lines (30 loc) · 903 Bytes
/
app.py
File metadata and controls
41 lines (30 loc) · 903 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
39
40
41
from flask import Flask, render_template, request, redirect
from flask_sqlalchemy import SQLAlchemy
from datetime import datetime
app = Flask(__name__,template_folder='templates')
@app.route('/')
def Main():
return render_template('Main.html')
@app.route('/Login')
def Login():
return render_template('Login.html')
@app.route('/Home')
def Home():
return render_template('Main.html')
@app.route('/Signup')
def Signup():
return render_template('Signup.html')
@app.route('/Rooms')
def Rooms():
return render_template('Rooms.html')
@app.route('/Tables')
def Tables():
return render_template('Tables.html')
@app.route('/Checkin')
def Checkin():
return render_template('checkin.html')
@app.route('/Checkout')
def Checkout():
return render_template('checkout.html')
if __name__ == "__main__":
app.run(debug=True, port=8000)