Skip to content

ApsaraWitharana/AMD-CW-World-News-App

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

 
 
 

Contributors