This is a simple news aggregator built with React JS. This makes use of newsapi to get the news feed.
- Node
- NPM
- NewsAPI
- React JS with create-react-app
- First, clone the repository with the following command and then enter the directory.
git clone https://github.com/hellomlorg/news-app
cd news-app
- We made use of a third party API to obtain the news. It can be accessed via News API. Create an account here and get an API key to use in the project.
- Open /src/config.js and replace "ENTER YOUR KEY HERE" with the key you generated in step 2.
- Now that you are in the repository, enter the below command to install all the dependencies.
npm install
or
npm i
- Now, we start the project.
npm start
- Head to http://localhost:3000 in any browser to view the project.
You can learn more about react from reactjs.org.
This project is opensourced under the MIT License.
We welcome all kinds of PRs which improve this project. Make sure that you open an issue before you start contributing to it.