This project is a simple react application which gives daily news feed. This sample app is powered by NewsAPI and Auth0 React SDK Quickstart.
- https://www.npmjs.com/package/react-paginate
- https://www.npmjs.com/package/react-axios
- https://www.npmjs.com/package/react-router-dom
- https://www.npmjs.com/package/react-moment
Use npm
to install the project dependencies:
npm install
The project needs to be configured with your Auth0 domain and client ID in order for the authentication flow to work.
- Go to NewsAPI and generate an API key (It's only 2 steps!)
- Put the API key at useAxios.js file
const apiKey = "{API_KEY}"
- Go to index.js file and add the AuthO Credentials
domain="{DOMAIN}" clientId="{CLIENT_ID}"
- Run the app