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.
Ensure you have the following installed on your system:
- Node.js and npm
- Python (preferably Python 3.x)
- Necessary dependencies for each component
cd frontend
npm install
npm run dev cd backend
npm install
npm startFor Linux, instead of
setup.batrunbash commands.sh
cd ai
setup.bat
python main.py- Dependencies: Make sure you have all the necessary dependencies installed. If you encounter any issues, check the
package.jsonfor frontend and backend, andrequirements.txtfor 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.