I've developed a mobile application using React Native Expo and NewsAPI. It features daily data updates and encompasses a wide range of categories.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Node.js and npm/yarn.
- You have a Windows/Linux/Mac machine. (This project supports all these operating systems)
- You have read the documentation related to this project.
This application can be tested on Android and iOS devices using Expo Go. Please follow the steps below:
-
Install Expo Go on your device:
For iOS devices, download Expo Go from the App Store
For Android devices, download Expo Go from the Google Play Store
-
Open the Expo Go app and scan the QR code available at the following link: React-Native-NewsApp on Expo
This will allow you to run and test the application directly on your device without the need for a physical build.
To install React-Native-NewsApp, follow these steps:
-
Open your terminal/command prompt.
-
Clone this repository:
git clone https://github.com/MustiAlparslan/React-Native-NewsApp.git
-
Navigate into the cloned repository:
cd React-Native-NewsApp
-
Install the dependencies:
npm install # or if you are using yarn: # yarn install
To run the app, follow these steps:
-
Start the Metro Bundler:
npm start # or if you are using yarn: # yarn start
-
Launch the app on your device/emulator:
npm run android # or if you are using yarn: # yarn android
To contribute to React-Native-NewsApp, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <Project_Name>/<location>
- Create the pull request.