21 lines
450 B
Python
Executable File
21 lines
450 B
Python
Executable File
from flask import Flask, render_template
|
|
from dotenv import load_dotenv
|
|
import os
|
|
from neo4j import GraphDatabase
|
|
|
|
# Load environment variables from .env file
|
|
load_dotenv()
|
|
|
|
# Initialize Flask app
|
|
app = Flask(__name__,
|
|
static_url_path='',
|
|
static_folder='static',
|
|
template_folder='templates')
|
|
|
|
@app.route('/')
|
|
def home():
|
|
return render_template('index.html')
|
|
|
|
if __name__ == '__main__':
|
|
app.run(debug=True)
|