Skip to content

Welcome to the World News App, a React Native application built using Expo, designed to fetch real-time news from the NewsData.io API.

License

Notifications You must be signed in to change notification settings

ApsaraWitharana/AMD-CW-World-News-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

World News App

Purple Shadow Frontend

🌍 About the Project

Welcome to the World News App, a React Native application built using Expo, designed to fetch real-time news from the NewsData.io API. The app provides users with a smooth and interactive experience, utilizing advanced animations and intuitive navigation.

πŸš€ Features this adding

βœ… Fetch the latest news from multiple sources. βœ… Smooth animations with React Native Reanimated. βœ… Stores user preferences with Async Storage. βœ… Optimized mobile UI with native styling. βœ… Efficient API request handling with Axios Retry. βœ… Styled using Expo Linear Gradient.

πŸ›  Tech Stack

πŸ›† Installation

Follow these steps to set up the app:

https://github.com/ApsaraWitharana/AMD-CW-World-News-App.git

npm install

Create a .env file and add your API key:

API_KEY=your_api_key_here

Start the development server:

npx expo start

πŸ“Έ Screenshots

Login Page - Firebase Auth

Screenshot_1740053956

Main Page

main_page

Home Page

home_page

Discover News

discover_news

Add News

image

Remove News

image

Saved News

save_news

Search News

search_news

Setting

setting_light_mode

πŸ“ Usage

  • Browse different news categories.
  • Tap on an article to read full details.
  • Enjoy smooth transitions and animations.

🧩 Code Snippet

import axios from 'axios';
import { useEffect, useState } from 'react';
import { API_KEY } from '@env';

const fetchNews = async () => {
  try {
    const response = await axios.get(`https://newsdata.io/api/1/news?apikey=${API_KEY}`);
    return response.data.results;
  } catch (error) {
    console.error('Error fetching news:', error);
  }
};

export default fetchNews;

πŸ“š References

πŸ’œLicense

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries or collaboration:

Β© 2025 All Rights Reserved, Designed By Sachini Apsara

⭐ Feel free to contribute, star the repo, and explore more!

About

Welcome to the World News App, a React Native application built using Expo, designed to fetch real-time news from the NewsData.io API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published