
simple flask restful boilerplate
The Flask Restful Boilerplate is a simple boilerplate for creating Flask Restful applications with SQLAlchemy. It provides a structured starting point for building RESTful APIs with Flask, including features such as database migrations, resource creation, Swagger documentation, error logging, and more.
python manage.py migrate command.python manage.py resource <name> command and register their URLs in the corresponding urls.py file.urls.py file of your project.schema folder and use @marshal_with and @use_kwargs decorators for proper Swagger documentation. Access Swagger documentation at http://localhost:5000/docs/.common/utils.py file and define constants in common/const.py.app.logger.error(<any_other_function>()) in your code. Import from flask import current_app as app for app access.Response class from common/response.py.The Flask Restful Boilerplate provides a convenient starting point for building Flask Restful applications with SQLAlchemy. It includes essential features such as database migrations, resource creation, Swagger documentation, error logging, and more. By following the installation guide and leveraging the provided features, developers can quickly set up and develop RESTful APIs using Flask.
