This repository contains the source code for a web frontend that displays daily social network graphs of entities in Vietnamese online news. The frontend is built using React and TypeScript.
This app is currently deployed at https://phamson02.github.io/vnnews-graph.
The web application scrapes Vietnamese news websites daily and analyzes the articles to extract entities (such as people, organizations, and locations) mentioned in the news. It then constructs a social network graph based on the co-occurrence of these entities in the same article. The frontend displays this graph, allowing users to explore the relationships between entities and the news articles they appear in.
To install and run the frontend, follow these steps:
- Clone this repository to your local machine.
- Navigate to the repository directory and run
npm install
to install the dependencies. - Create an environment variable named
REACT_APP_API_URL
with the valuehttps://lionfish-app-pnbyg.ondigitalocean.app/api
. - Run
npm start
to start the development server. - Open
http://localhost:3000
in your web browser to view the application.
The application consists of a single page that displays the social network graph for the current day's news.
Contributions to this project are welcome. If you find a bug or would like to suggest a new feature, please open an issue on this repository. If you would like to contribute code, please fork the repository and submit a pull request with your changes.