diff --git a/backend.py b/backend.py index 9cf13eb..2bb58ca 100644 --- a/backend.py +++ b/backend.py @@ -1 +1,15 @@ -# Init \ No newline at end of file +from flask import Flask +from flask_restful import Resource, Api + +app = Flask("LeaderAPI") +api = Api(app) + +class LeaderAPI(Resource): + + def get(self): + return "Hello world!" + +api.add_resource(LeaderAPI, "/") + +if __name__ == "__main__": + app.run() \ No newline at end of file