Twitter NodeJS ReactJS: twiter-node-react.herokuapp.com
Skeleton taken from https://github.com/tahnik/react-express-webpack-babel ,found in Yeoman as react-express-webpack-babel
-
To get information from twitter have use the package node-twitter which a friendly interphase to consume twitter-api
-
Use axios to ajax as a light weight library for ajax requests
- Construct UserTwitter component
- set the Store for users && followers (the interphase is constructed)
- Construct CompareUsers
- Connect with the global store
- make ajax request with axios
- get databack from server
- Construct the backend Get connected to twitter-api
- Get Followers list
- set catch in case errors occurs
- compare followers from both inputs
- Construct the list to render The followers
- Contstruct the item for the list and render data from server
The application is deploy on heroku. The url is twiter-node-react.herokuapp.com
The deploy process is to run a compiler on the server that deploys the code && run an script that "uglify && minify" it, for production environment.