Reddit sentiment analysis project using React & Flux (Alt)
- Retrieve latest comments from Reddit containing a specific term.
- Run sentiment analysis on comments.
- Aggregate results
- Display all comments retrieved & allow for filtering
- Test React & Flux (Alt)
- React 0.14
- Flux (Alt)
- D3
- Material UI
- Webpack
- Babel 6
- Express
- Node
$ npm install
Start the local dev server:
$ npm run start
Navigate to http://localhost:8080/ to view the app.
- React Boilerplate:
- Code taken from Git repo: pheuter/essential-react
- Clean and simple layout with minimal tools.
- Reddit Search API:
- Currently Reddit does not allow searching for a term in comments, only in posts/listings.
- Used https://api.pushshift.io as it tracks latest comments.
- Sentiment Analysis API:
- Using vivekn/sentiment-web
- Using this API as it is free and allows batch processing
- Not necessarily accurate sentiment analysis, however meets the needs for the current project
- Addtional APIs to consider implementing at a later stage:
- Alchemy API: Free (limited use per day), but no batch processing
- TwinWord: Free, no batch processing