This is a simple news website built with React using Create React App (CRA) and powered by the NewsAPI. It provides news articles from various categories.
The api used only work with development server So its Alternative app - https://autumn-absconds-newsapp.netlify.app/ (But as of API limitations it dosn't provides categories.)
- Browse news articles from various categories.
- View detailed information about each news article.
- Responsive design for mobile and desktop.
To run this project locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/autumn-absconds/The-News-App---Development-Grade-API.git
-
Change into the project directory:
cd The-News-App---Development-Grade-API
-
Install dependencies:
npm install
Once you have installed the project, you can start the development server:
npm start
This will start the development server, and you can view your project in your web browser at http://localhost:3000
.
This project uses the NewsAPI to fetch news data. You will need to obtain an API key from NewsAPI and replace it in the code where the API is called. Be sure to keep your API key secure and do not expose it in your repository.
If you would like to contribute to this project, feel free to fork the repository and submit pull requests. We welcome contributions from the community.