Skip to content

Interactive dashboard leveraging Webz.io News API Lite to analyze and display sentiment trends in US election news.

Notifications You must be signed in to change notification settings

rangeva/USPoliticsNewsSentiment

Repository files navigation

USPoliticsNewsSentiment

Description

This project is an open-source demo web application that showcases the use of the Webz.io News API Lite for viewing news about US politics. The application allows users to select their favorite political candidate to view specific news articles related to them. You can, of course, fork this project and change the topics to whatever you want, such as Bitcoin vs. Ethereum.

Click here for a Live Demo

Image 1 Image 2 Image 3

To access the data, an API token is required, which can be obtained using Webz.io Free News API:

For a quick guide on how to use the News API, visit this link.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/rangeva/USPoliticsNewsSentiment/

  2. Navigate to the project directory

    cd project-directory

  3. Install dependencies using npm npm install

  4. Start the development server npm start

  5. Edit the text : If you need to edit static data in the project, edit config.json file inside the src for that purpose.

Once the server is running, open your web browser and go to http://localhost:3000

Upon loading the application, a popup will appear prompting for an API token. Click the "Get Token" button to acquire the token. Enter the token in the provided input field to access website data.

If the token is valid, you will be redirected to the landing page where you can view news regarding US politics.

Select your favorite candidate to view particular news articles related to them.

About

Interactive dashboard leveraging Webz.io News API Lite to analyze and display sentiment trends in US election news.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •