(feat): Initial work on Flask server
This commit is contained in:
parent
8d9642a2a7
commit
366e62f804
1 changed files with 14 additions and 0 deletions
14
server.py
Normal file
14
server.py
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route('/')
|
||||||
|
def index():
|
||||||
|
return 'Index page'
|
||||||
|
|
||||||
|
@app.route('/login')
|
||||||
|
def login():
|
||||||
|
return 'Login Page'
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue