Skip to content

Latest commit

Β 

History

History
80 lines (55 loc) Β· 2.5 KB

File metadata and controls

80 lines (55 loc) Β· 2.5 KB

πŸ“± PokΓ©mon Explorer

This is a simple React Native app that interacts with the PokeAPI to fetch and display a list of PokΓ©mon. Users can view detailed information about each PokΓ©mon, including images, types, abilities, stats, and more.

✨ Features

  • πŸ” Fetch and display a paginated list of PokΓ©mon
  • πŸ“„ View detailed information about each PokΓ©mon
  • πŸ–ΌοΈ Display official artwork, sprites, and stats
  • ❀️ Toggle favorites (feature ready for extension with Context API)
  • πŸš€ Smooth navigation between screens
  • πŸ“± Responsive UI designed for mobile devices

πŸ”§ Tech Stack

  • React Native with TypeScript
  • React Navigation (native stack)
  • PokeAPI for PokΓ©mon data
  • Context API (setup ready for state like favorites)
  • Toast Messages for error handling
  • FlashList and performance-optimized components

πŸ—‚οΈ Project Structure

β”œβ”€β”€ api/                  # API calls and helpers
β”œβ”€β”€ components/           # Reusable UI components
β”œβ”€β”€ context/              # Global state management (favorites setup)
β”œβ”€β”€ screens/              # App screens (Home, Details, etc.)
β”œβ”€β”€ utils/                # Constants, helpers, and entity interfaces
└── App.tsx               # App entry point

πŸ“Έ Screenshots

Homepage Favorite pokemons Pokemon details page Notification

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/Samson8/react-native-task.git
cd react-native-task

2. Install dependencies

yarn install

3. Start the development server

npx react-native run-ios    # for iOS
npx react-native run-android # for Android

⚠️ Make sure your emulator or device is properly configured.

βœ… To Do / Future Improvements

  • Implement persistent storage (e.g., AsyncStorage) for favorites
  • Improve UI styling with cards and colors
  • Handle offline support or loading states more gracefully

πŸ§‘β€πŸ’» Author

Samson Damilola
GitHub