Live Demo: https://ibelreal.github.io/apistudioghibli/
This project is a solution to a technical test. The goal was to build a web application that connects to an external API and displays its data in a user-friendly interface.
The app consumes data from a Studio Ghibli API and presents information about films, focusing on usability, responsiveness, and performance.
- React
- JavaScript
- Sass
- Mapbox GL JS (Dependency)
src/
βββ components/ # Reusable UI components
βββ data/ # Static data (e.g., image mappings)
βββ images/ # Local assets
βββ services/ # API calls and external services
βββ stylesheets/ # SCSS files
- Clone the repository
git clone <repository-url>
cd <project-folder>- Install dependencies
npm install- Start the development server
npm startThe project will run at http://localhost:3000
β Built using React
β Compatible with IE11 and above
β Film Images: Since the API does not provide images, a local JSON file is used to map each movie to its corresponding image URL.
β Responsive Design: Implemented using Sass to ensure compatibility across mobile, tablet, and desktop devices.
β User Interface: Inspired by the visual style of Studio Ghibli films, aiming to reflect their artistic identity.
β Performance: Efficient data handling using React state and props to ensure smooth rendering and user interaction.
β Testing: Automated testing is not yet implemented. Adding unit and integration tests is planned for future iterations.