News Plus is a latest news app created with the public API gnews.io. It features several features such as a search feature, simple authentication, and many more.
Notes :
- the latest version of React Native has a default of using TypeScript, so a little adaptation is necessary.
- Some files were purposely not included in the .gitignore to facilitate the installation process.
- React Navigation.
- React Native Toast Message.
- React Native Reanimated
- React Native Firebase
- Firebase Remote Config
- Firebase auth
- babel plugin module resolver
- React Native WebView
Design inspired by Getuk
- clone the repository
- install all dependencies with command
yarn install
ornpm install
and commandcd ios && pod install
for ios - link asset to native project with command
npx react-native-asset
- run application with command
yarn android
oryarn ios
- Initially, you will come across the onboarding page. This onboarding page provides a brief overview of the News Plus application.
- You can sign up first by clicking the 'Daftar dengan email' button, or you can log in directly using the
user@mailinator.com
account with the password 12345678" - On the home page, there is a highlight of news and other content. There is also a drawer menu by clicking the avatar icon in the top right corner.
- You can log out of your account by clicking the logout button in the drawer menu.
Notes:
- The gnews.io API has a limit of 100 requests per day, with a time interval of 1 second when accessing the API.
- Some features are still unfinished.
- The responsive feature size is still imperfect for Android devices with a screen size greater than 4.5 inches.
- There is no Figma mockup, everything follows the design outlined above
- No unit tests were performed because I am not yet familiar with TypeScript.
- Create env
- BASE_URL=https://gnews.io/api/v4
- API_KEY= create api key in gnews.io