Purple News is a website that scrapes popular news sites and pairs politically polarized news articles of the same topic to give readers the ability to both visualize the bias in their news as well as view media coverage from every perspective.
Clone this repo to your local machine using https://github.com/olsencar/NewsAggregator.git
- Navigate to the
/web_app
directory. - Install the required npm packages.
npm install
- Navigate to the
/web_app/client
directory. - Repeat the npm package installation.
npm install
- You must have the following environment variables set to valid credentials:
MONGO_USERNAME
MONGO_PASSWORD
To run Purple News:
- Navigate to the
/web_app
directory. - Input the following command to start the server and launch a client on local host port 3000.
npm run dev
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.