How awp22nd/cuy-un4 works
Cuy-AnimeList is a web app for browsing anime and viewing user account pages. Its main browsing flow uses the navbar search to open keyword results, or browses popular and recommended titles; selecting a title opens its detail page with a trailer. The app also exposes sign-in and a user dashboard with a collections view. The README provides no capability detail, and the collections page shown is static. API helper internals and middleware behavior were not excerpted, so their downstream relationships are not asserted.
Main entry points: popular/page.jsx Popular Page · [keyword]/page.jsx Search Results · api-libs.js Anime API Helpers · app/page.jsx Home Page
Components 21
App Navigation
- Site Layout
cuyanimelist/src/app/layout.jsx - Navbar
cuyanimelist/src/components/Navbar/index.jsx - Search Input
cuyanimelist/src/components/Navbar/InputSearch.jsx - User Action
cuyanimelist/src/components/Navbar/UserActButton.jsx
Anime Discovery
- Home Page
cuyanimelist/src/app/page.jsx - Popular Page
cuyanimelist/src/app/popular/page.jsx - Search Results
cuyanimelist/src/app/search/[keyword]/page.jsx - Anime Detail
cuyanimelist/src/app/anime/[id]/page.jsx - Anime List
cuyanimelist/src/components/AnimeList/index.jsx - Anime Header
cuyanimelist/src/components/AnimeList/Header.jsx - Popular Header
cuyanimelist/src/components/Utilities/HeaderMenu.jsx - Pagination
cuyanimelist/src/components/Utilities/Pagination.jsx - Video Player
cuyanimelist/src/components/Utilities/VideoPlayer.jsx
Accounts
- User Dashboard
cuyanimelist/src/app/user/dashboard/page.jsx - Collections View
cuyanimelist/src/app/user/dashboard/collections/page.jsx - Collection Header
cuyanimelist/src/components/dashboard/Header.jsx - Auth Route
cuyanimelist/src/app/api/auth/[...nextauth]/route.js
Application Services
- Anime API Helpers
cuyanimelist/src/libs/api-libs.js - Auth Helpers
cuyanimelist/src/libs/auth-libs.js - Request Middleware
cuyanimelist/src/middleware.js
Other components
- GitHub OAuth
Connections 21
- Site Layout → Navbar: renders
cuyanimelist/src/app/layout.jsx - Navbar → Search Input: renders
cuyanimelist/src/components/Navbar/index.jsx - Navbar → User Action: renders
cuyanimelist/src/components/Navbar/index.jsx - Search Input → Search Results: navigates to
cuyanimelist/src/components/Navbar/InputSearch.jsx - Home Page → Anime API Helpers: fetches anime
cuyanimelist/src/app/page.jsx - Home Page → Anime List: renders
cuyanimelist/src/app/page.jsx - Home Page → Anime Header: renders
cuyanimelist/src/app/page.jsx - Popular Page → Anime API Helpers: fetches anime
cuyanimelist/src/app/popular/page.jsx - Popular Page → Anime List: renders
cuyanimelist/src/app/popular/page.jsx - Popular Page → Popular Header: renders
cuyanimelist/src/app/popular/page.jsx - Popular Page → Pagination: renders
cuyanimelist/src/app/popular/page.jsx - Search Results → Anime API Helpers: fetches results
cuyanimelist/src/app/search/[keyword]/page.jsx - Search Results → Anime List: renders
cuyanimelist/src/app/search/[keyword]/page.jsx - Search Results → Anime Header: renders
cuyanimelist/src/app/search/[keyword]/page.jsx - Anime Detail → Anime API Helpers: fetches detail
cuyanimelist/src/app/anime/[id]/page.jsx - Anime Detail → Video Player: renders
cuyanimelist/src/app/anime/[id]/page.jsx - User Dashboard → Auth Helpers: loads session
cuyanimelist/src/app/user/dashboard/page.jsx - User Dashboard → Collections View: links to
cuyanimelist/src/app/user/dashboard/page.jsx - Collections View → Collection Header: renders
cuyanimelist/src/app/user/dashboard/collections/page.jsx - User Action → Auth Helpers: loads session
cuyanimelist/src/components/Navbar/UserActButton.jsx - Auth Route → GitHub OAuth: configures provider
cuyanimelist/src/app/api/auth/[...nextauth]/route.js