How ender-wiggin2019/next-ark-nova-cards works
Ark Nova Card List is a reference and discovery site for Ark Nova players. The principal workflow is selecting card types and applying source, tag, requirement, text, size, strength, and sort controls to browse animal and sponsor card lists. Separate product areas cover card details, actions, projects, maps, end-game scoring, quizzes, ratings, comments, and account access. The homepage-to-list relationship is visible in the sampled source; other feature areas are identified from the tree and README, so their internal wiring is not inferred. The README says PlanetScale is not yet integrated.
Main entry points: pages/index.tsx Card search · quiz/index.tsx Quiz pages · Comments.tsx Comments · page.tsx Account access
Components 23
Card discovery
- Card search
src/pages/index.tsx - Search filters
src/components/filters - Animal cards
src/components/cards/animal_cards/AnimalCardList.tsx - Sponsor cards
src/components/cards/sponsor_cards/SponsorCardList.tsx - Animal data
src/data/Animals.ts - Sponsor data
src/data/Sponsors.ts - Card detail
src/pages/card/[id].tsx
Game reference
- Action cards
src/pages/actions/index.tsx - Action definitions
src/data/ActionCards.ts - Projects
src/pages/project-bonuses/index.tsx - Project data
src/data/Projects.ts - End-game cards
src/data/EndGames.ts - Map boards
src/pages/maps/index.tsx - Map data
src/data/MapBoards.ts
Community features
- Quiz experience
src/components/quiz/Quiz.tsx - Quiz pages
src/pages/quiz/index.tsx - Quiz API
src/pages/api/quiz - Comments
src/components/comments/Comments.tsx - Comment API
src/pages/api/comments - Card ratings
src/pages/api/cards/ratings.ts
Site platform
- Account access
src/(auth)/sign-in/[[...sign-in]]/page.tsx - Request middleware
src/middleware.ts
Other components
- Player
Connections 16
- Player → Card search: searches cards
- Card search → Search filters: renders controls
- Card search → Animal cards: passes filters
- Card search → Sponsor cards: passes filters
- Player → Card detail: opens card
- Player → Action cards: browses actions
- Player → Projects: browses projects
- Player → Map boards: browses maps
- Player → Quiz pages: takes quizzes
- Quiz pages → Quiz experience: renders quiz
- Quiz pages → Quiz API: quiz requests
- Player → Comments: writes comments
- Comments → Comment API: comment requests
- Player → Card ratings: rates cards
- Player → Account access: signs in
- Account access → Request middleware: authenticates requests