12 lines
301 B
Python
12 lines
301 B
Python
from flask import Flask
|
|
from db.database import Database
|
|
|
|
app = Flask(__name__)
|
|
db = Database(db_name='ethnograph', user='ethnograph_user', password='ethnograph_pass')
|
|
|
|
@app.route('/')
|
|
def index():
|
|
return "Welcome to the Ethnograph View Server!"
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True) |