Skip to content

muhiris/trunews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TruNews - A News Aggregator with AI Fact-Checking

TruNews is a project that aims to showcase multiple news articles and utilize AI to detect contradictory news. Users can upvote, downvote, and publish news articles.

Getting Started - Run frontend, backend, and AI component concurrently

Prerequisites

Ensure you have the following installed on your system:

  • Node.js and npm
  • Python (preferably Python 3.x)
  • Necessary dependencies for each component

To run the frontend, follow these steps:

  cd frontend
  npm install
  npm run dev

To set up the backend, follow these steps:

  cd backend
  npm install
  npm start

For the AI component, follow these steps:

For Linux, instead of setup.bat run bash commands.sh

 cd ai
 setup.bat
 python main.py

Common Issues

  • Dependencies: Make sure you have all the necessary dependencies installed. If you encounter any issues, check the package.json for frontend and backend, and requirements.txt for the AI component.
  • Port Conflicts: Ensure that the ports used by the frontend (usually 5173), backend (usually 4000), and AI component are not being used by other applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors