I have addressed all errors that appeared on the errors log file and now the server runs with no errors.
GET request appears on the access log when I open the website url.
My views function normally on my localhost.
I am using the default WSGI configuration file for flask.
The file "init.py" where my app is located looks like below:
from flask import Flask
from flask_login import LoginManager
from events import socketio, users
import os
app = Flask(__name__)
app.secret_key = '1234'
app.app_context().push()
file_path = os.path.abspath(os.getcwd())+"\database\database.db"
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + file_path
app.secret_key = 'e101fde772e201928228'
login_manager = LoginManager(app)
login_manager.login_view = "login"
login_manager.login_message = "You need to log in to perform this action"
login_manager.login_message_category = "invalid-notif"
socketio.init_app(app)
Any help is greatly appreciated.