Build a REST API in Flask
In this project, we'll create endpoints to get and display information about different movies using Flask. We'll use the Flask-RESTX extension for REST API development. Flask-RESTX is a Flask extension that adds support for API development. This extension eases the process of API creation by providing different decorators. By default, Flask-RESTX automatically generates the Swagger UI documentation for REST APIs. SQLAlchemy will be used to handle database-related operations.
Our API will consist of the following endpoints:
Get all movies
Get a movie by its ID
Get movies between a particular range of release years
Get movies by their titles
Post a new movie
Update an existing movie
Delete a movie