Skip to content

Instantly share code, notes, and snippets.

Created Jan 10, 2019
What would you like to do?
app file with routing
from flask import Flask
from flask_restful import Api
from resources.todo import Todo
app = Flask(__name__)
api = Api(app)
api.add_resource(Todo, "/todo/<int:id>")
if __name__ == "__main__":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment