This is a React Native Expo app that displays a list of animals and allows users to view animal details, mark animals as favorites, and view a list of favorite animals.
- Homepage displaying a list of animals with names and images
- Search bar to search for animals in the list
- Animal details screen with a larger image, title, and description
- Favorite button to mark/unmark an animal as a favorite
- Display of favorite animals on the homepage with a heart icon
- Separate screen to view the list of favorited animals
To run the app locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/animal-app.git - Install dependencies:
npm install - Start the Expo server:
npm start - Use the Expo client app or an emulator to run the app on your device.
The app uses the animal.json file as the data source for the list of animals. Each animal object in the JSON file contains a name and an image name, which is used to fetch the corresponding image from a url.
- React Native
- Expo
- Redux
This project is licensed under the MIT License.
Feel free to contribute, report issues, or suggest improvements!