This is a client-side routing application built using React Router and Vite. It provides access to news content across various categories, including Home, Politics, Sports, Entertainment, Business, Feedback, and Other News. The application relies on the news API from newsapi.org for fetching news data through GET requests. Additionally, it utilizes a db.json
file for handling POST requests.
- React Router
- Vite
- newsapi.org
- Home
- Politics
- Sports
- Entertainment
- Business
- Feedback
- Other News
- Header
- NavBar
- Highlights
- NewsItems
- NewsSpecs
To run the application locally, follow these steps:
- Clone this repository.
- Install dependencies using
npm install
. - Start the development server using
npm run dev
.
The application utilizes a db.json
file to handle POST requests.
This project is licensed under the MIT License.