NewsApp is a mobile application built using React Native and TypeScript. It fetches the latest news from The Guardian API and provides features such as different news categories, infinite scrolling, and a separate screen for viewing full news details. This project uses React Query for data fetching and storing, and React Native FlashList for rendering lists.
Home Screen | News Page Details |
---|---|
. |
- React Native (0.71.5)
- React Native Animated API
- Typescript
- React Navigation
- React Query
- React Native FlashList
- The Guardian News API (free account up to 500 requests per day)
- React Native MMKV (local storage)
- Love ❤️
- Clone the repository:
git clone https://github.com/your-username/newsapp.git
- Change directory to the project:
cd newsapp
- Install dependencies:
npm install
- The API key is already included in the project, no additional configuration is needed.
To run the app on an Android emulator:
- Start an Android emulator using Android Studio
- Run the command:
npm run android
To run the app on an iOS simulator:
- Start an iOS simulator using Xcode
- Run the command:
npm run ios
This project is licensed under the MIT License. See the LICENSE file for details.