Toxic hackers is an app that lets you see how toxic any HackerNews commenter is. Search by username or browse the ranks of the "toxic". We've taken the open source HackerNews dataset and used sentiment analysis to generate summaries of usage across commenters' lifetimes.
Please explore. 🙂 We've prepared visualizations & dashboards of commenters' activity for your curiosity. Just be prepared there's some really nasty trolls out there.
- Demo
- Contributors
- Technologies used and dependencies
- Installation
- Environment variables
- API
- Endpoints description
- Contribution guidelines
Toxic hackers was developed by a Ivana and Britton based on idea from Lambda School build week. 🚀
Ivana Huckova Full-stack Developer |
Britton Winterrose Machine Learning Developer |
- JavaScript
- React
- Semantic UI 🧡
- Recharts 💙
- Styled Components 💜
- Firebase
- React Testing Library 🐐
- axios: ^0.18.0,
- cors: ^2.8.5,
- dotenv: ^7.0.0,
- firebase: ^5.9.4,
- helmet: ^3.16.0,
- node-sass: ^4.11.0,
- proptypes: ^1.1.0,
- react: ^16.8.5,
- react-dom: ^16.8.5,
- react-router-dom: ^5.0.0,
- react-scripts: 2.1.8,
- react-tabs: ^3.0.0,
- recharts: ^1.5.0,
- semantic-ui-react: ^0.86.0,
- styled-components: ^4.2.0
- react-testing-library: ^6.1.2,
- Fork the repository
- Run yarn
- You need to add environment dependencies to connect to database
- Run yarn run-app for react app and yarn start for express app
- Run yarn test for tests
- Enjoy the app 🙂
Database Enviroment Variables
- APIKEY
- AUTHDOMAIN
- ID
- PROJECTBUCKET
- PROJECTID
- TESTURL
For Production
- NODE_ENV=production
Success Outputs
Javascript object in following format:
{
avg_slt_oall: 0.04860141148784049,
avg_slt_s: -0.09191689742938368,
cnt_cmnts_oall: 9964,
cnt_slt_s: 2075,
commentor: "pg",
monthly_plot: {},
rank_lt_amt_slt: 46,
rank_lt_qty_sc: 45,
rank_oall_slt: null,
rank_slt_trolls: null,
sum_slt_oall: 484.2644640648426,
sum_slt_s: -190.72756216597114,
time_cmnt_fst: {},
time_cmnt_lst: {},
top_cmnts_s: {}
}
We are currently working on contribution guidelines. 🙂