A React web application for searching and exploring anime using the Jikan API (unofficial MyAnimeList API).
- Anime Search: Search anime by title
- Top Anime: Display list of most popular anime
- Anime Details: View complete information including:
- Rating, broadcast schedule, and anime type
- Duration, rank, and popularity
- Season and release year
- Trailer (if available)
- Detail Popup: Click anime cards to view full details in a popup
- Responsive Design: Optimal viewing experience across different screen sizes
https://project-8-wphj.vercel.app/
- React - JavaScript library for building UI
- Jikan API - Unofficial API for MyAnimeList
- SCSS/CSS - Styling
- React Hooks - State management (useState, useEffect)
AnimeDatabase/
├── public/
│ ├── index.html
│ ├── manifest.json
│ └── robots.txt
├── src/
│ ├── App.js
│ ├── index.js
│ ├── assets/
│ │ ├── css/
│ │ │ └── main.css
│ │ └── scss/
│ │ └── main.scss
│ └── components/
│ ├── AnimeCard.js
│ ├── AnimePopup.js
│ ├── Header.js
│ ├── MainContent.js
│ └── Sidebar.js
├── package.json
└── README.md
- Clone repository:
git clone https://github.com/Faris0520/AnimeDatabase.git
cd AnimeDatabase- Install dependencies:
npm install- Run the application:
npm start- Open browser and access:
http://localhost:3000
Main component that manages state and API calls.
Displays the application title.
Displays a list of top 5 popular anime with links to MyAnimeList.
Manages search box, search results list, and detail popup.
Displays individual anime cards with image and title.
Modal popup that displays complete anime details including trailer.
This application uses Jikan API v4:
- Top Anime:
https://api.jikan.moe/v4/top/anime?filter=bypopularity - Search Anime:
https://api.jikan.moe/v4/anime?q={query}&order_by=title&sort=asc&limit=10
- Uses SCSS compiled to CSS
- Font: 'Fira Sans'
- Main colors: #313131, #AAA, #EEE
- Hover effects and transition animations
- Responsive design with flexbox
This application is optimized for various screen sizes:
- Desktop: Layout with sidebar and 3-column grid
- Mobile: Stack layout with responsive grid
Contributions are always welcome! Please:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Create a Pull Request
This project is open source and available for free use.
Faris0520
- MyAnimeList for anime data
- Jikan API for providing the REST API
- Create React App for project template
