Initial configuration
This commit contains initial configuration and directory structure
This commit is contained in:
5
app/__init__.py
Normal file
5
app/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from flask import Flask
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
from app import views
|
||||
7
app/views.py
Normal file
7
app/views.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from app import app
|
||||
|
||||
|
||||
@app.route('/')
|
||||
@app.route('/index')
|
||||
def index():
|
||||
return "Hello, dash-stack"
|
||||
Reference in New Issue
Block a user