This is a simple Flask application that allows you to manage a catalogue of movies. You can add new movies, search for movies by name, and retrieve a list of all movies.
- Python 3.x
- Python Venv
- Flask
- Boto3
-
Clone the repository:
git clone https://github.com/ayodele-ademeso/movie-catalogue-app.git cd movie-catalogue-app
-
Create Virtual Environment:
python3 -m venv <custom_name>
-
Activate virtual environment
. <venv folder>/bin/activate
-
Install requirements
pip install -r requirements.txt
-
Test app locally
python3 app.py OR flask run --host=0.0.0.0
The following routes are available on this API:
/: API's homepage.
/health: Checks the health status of the application.
/api/movies: Accepts either a GET request(to get all movies), or a POST request(for adding movies).
/api/search: Returns a movie or list of movies if search parameter matches.
/api/movies/<title>: Accepts a PUT method for updating details of a single movie.