How fridtjofnagel-dot/my-final-react-project works
This is a small React app with routed pages for a home/hidden-site experience, notes, Pokémon, and NASA content, plus shared state and browser storage. The demonstrated workflow is browser entry → routed app → shared layout → page; the home page links to the hidden page. Notes, NASA, and Pokémon modules are present in the tree, but their runtime wiring is mostly unsampled, so their connections are omitted rather than inferred. The README describes only the Vite template and provides no product capability details.
Main entry points: App.jsx Routes · MainLayout.jsx Main layout · main.jsx React entry · Home.jsx Home page
Components 30
App shell
- React entry
src/main.jsx - Routes
src/App.jsx - Main layout
src/layouts/MainLayout.jsx - Navigation bar
src/components/NavBar.jsx - Footer
src/components/Footer.jsx
Feature pages
- Cover page
src/pages/Coverpage.jsx - Home page
src/pages/Home.jsx - Hidden page
src/pages/HiddenSite.jsx - Notes page
src/pages/Note.jsx - NASA page
src/pages/Nasa.jsx - Pokémon page
src/pages/Pokemon.jsx - Note form
src/components/Notes/NoteForm.jsx - Note list
src/components/Notes/NoteList.jsx - Note card
src/components/Notes/NoteCard.jsx - NASA search
src/components/Nasa/NasaSearch.jsx - NASA photo grid
src/components/Nasa/NasaPhotoGrid.jsx - NASA photo card
src/components/Nasa/NasaPhotoCard.jsx - NASA slider
src/components/Nasa/NasaSlider.jsx - Pokémon grid
src/components/Pokemon/PokemonGrid.jsx - Pokémon card
src/components/Pokemon/PokemonCard.jsx - Catch button
src/components/Pokemon/PokemonCatchButton.jsx - Pokémon inventory
src/components/Pokemon/PokemonInventar.jsx - NASA API client
src/server/NasaApi.js - Pokémon API client
src/server/pokemonApi.js - Note fetch helper
src/server/fetchNoteStorage.js
Shared state
- App context
src/context/AppContext.js - App state
src/context/AppState.jsx - Note storage
src/storage/noteStorage.js - Pokémon storage
src/storage/pokemonStorage.js
Other components
- Visitor
Connections 14
- Visitor → React entry: opens app
src/main.jsx - React entry → Routes: renders
src/main.jsx - Routes → App state: wraps routes
src/App.jsx - Routes → Main layout: routes through
src/App.jsx - Routes → Cover page: routes to
src/App.jsx - Routes → Home page: routes to
src/App.jsx - Routes → Hidden page: routes to
src/App.jsx - Routes → Notes page: routes to
src/App.jsx - Routes → Pokémon page: routes to
src/App.jsx - Main layout → Navigation bar: renders
src/layouts/MainLayout.jsx - Main layout → Footer: renders
src/layouts/MainLayout.jsx - Home page → Hidden page: links to
src/pages/Home.jsx - App state → App context: provides state
src/context/AppState.jsx - Pokémon card → Catch button: renders
src/components/Pokemon/PokemonCard.jsx