diff --git a/backend/project/endpoints/index.py b/backend/project/endpoints/index.py new file mode 100644 index 00000000..b5536eaf --- /dev/null +++ b/backend/project/endpoints/index.py @@ -0,0 +1,10 @@ +from flask import Blueprint +from flask_restful import Resource + +index_bp = Blueprint("index", __name__) + +class Index(Resource): + def get(self): + return {"Message": "Hello World!"} + +index_bp.add_url_rule("/", view_func=Index.as_view("index")) \ No newline at end of file