How nestorandres1215/buscador-de-peliculas-japonesas works
Main Components
• User Interface: Represented by the static HTML (index.html) and styled using CSS (style.css) along with Bootstrap 5 to ensure a modern, responsive design.
• Client-Side Logic: The JavaScript (script.js) handles dynamic user interactions, search functionality, filtering of movies (by name and release year), and API calls.
• External Data Source: The Studio Ghibli API that feeds movie details (title, synopsis, director, release date, etc.) to the application.
Relationships and Data Flow
• User interacts with the UI (index.html) on the browser.
• UI events (e.g., search input, filter criteria) are captured and processed by script.js.
• script.js sends requests to the Studio Ghibli API to fetch movie data.
• Upon receiving data, script.js updates the UI dynamically to display search results and detailed information.
Architectural Patterns and Design Principles
• Separation of Concerns: Differentiate clearly between presentation (HTML/CSS), behavior (JavaScript), and data (external API).
• Client-Side Rendering: Emphasize the dynamic update of the UI without needing a build-backend.
• Responsive Design: Mention the use of Bootstrap 5 to ensure the application’s layout adapts to various device sizes.
Technologies and Frameworks
• HTML for the static markup.
• CSS and Bootstrap 5 for styling and responsive behaviors.
• JavaScript for client-side interactivity and API integration.
• Studio Ghibli API as the external data provider.
Detail
• Every major piece of the architecture is represented with its interactions.
• Even though the project is relatively simple, breaking it into components (UI, Logic, External Service) will provide clarity.