From e4e1c7fda2350976da3606800b48903b533c1140 Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Sat, 27 Jul 2024 22:19:43 -0500 Subject: [PATCH] updated README.md --- news_app/README.md | 55 ++++++------------------------------------- news_app/app/index.js | 15 ++++++------ 2 files changed, 14 insertions(+), 56 deletions(-) diff --git a/news_app/README.md b/news_app/README.md index cd4feb8..cea392d 100644 --- a/news_app/README.md +++ b/news_app/README.md @@ -1,50 +1,9 @@ -# Welcome to your Expo app 👋 +# News application with React Native -This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app). +This project is a news mobile application that fetches data from [News API](https://newsapi.org/), where users will be able to share and read the latest news from different sources. -## Get started - -1. Install dependencies - - ```bash - npm install - ``` - -2. Start the app - - ```bash - npx expo start - ``` - -In the output, you'll find options to open the app in a - -- [development build](https://docs.expo.dev/develop/development-builds/introduction/) -- [Android emulator](https://docs.expo.dev/workflow/android-studio-emulator/) -- [iOS simulator](https://docs.expo.dev/workflow/ios-simulator/) -- [Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo - -You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction). - -## Get a fresh project - -When you're ready, run: - -```bash -npm run reset-project -``` - -This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing. - -## Learn more - -To learn more about developing your project with Expo, look at the following resources: - -- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides). -- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web. - -## Join the community - -Join our community of developers creating universal apps. - -- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute. -- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions. +## To start the project +* Download [Expo Go](https://expo.dev/go) on your device to launch the project. +* To start the project, run this command on your terminal `npx expo start --tunnel` +* Scan the QR code that shows on your terminal. +* For more information about Tunneling, please read [Expo](https://docs.expo.dev/more/expo-cli/#tunneling). diff --git a/news_app/app/index.js b/news_app/app/index.js index 36a1a6a..82918c8 100644 --- a/news_app/app/index.js +++ b/news_app/app/index.js @@ -6,14 +6,13 @@ import HomeNavigator from './Navigation/HomeNavigator' export default function Index() { return ( - - - - - - - - + + + + + + + ); }