LeaderboardBackend/backend.py

15 lines
258 B
Python
Raw Normal View History

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()