The User Unknown's News is a modern, responsive web application built with React, showcasing the latest news across various categories. Utilizing an external news API, this application presents news items in an easy-to-navigate format, catering to users who wish to stay updated with current events in a fast and efficient manner.
To get the application running locally:
# Clone the repository
git clone https://github.com/uppnrise/user-unknown-news.git
# Go into the repository
cd user-unknown-news
# Install dependencies
npm install
# Start the application
npm start
After starting the application, you can view the latest news articles categorized by different sections. Each section can be expanded to view more news items.
- Categorized News: News items are categorized for easier navigation.
- Responsive Design: Compatible with various screen sizes.
- Dynamic Data Fetching: News items are fetched in real-time from an API.
To run the automated tests for this system:
npm test
Unit tests are written for both the App
and NewsList
components to ensure they work as expected.
App
tests verify API integration and error handling.NewsList
tests check the functionality of news item display and toggling.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Thanks to the ok.surf API for providing news data.
- Inspired by the need for a simple, yet informative news aggregator.