Code repository for the tutorial by @kenwheeler: Build A Real-Time Twitter Stream with Node and React.js
This is a fork changed to use Omniscient.js:
A library providing an abstraction for React components that allows for fast top-down rendering embracing immutable data. Using cursors into immutable data structures, components can easily swap their own piece of data inside the larger immutable data structure. As data is immutable, re-rendering can be fast.
- node and npm
- Clone the repo:
git clone [email protected]:scotch-io/react-tweets
- Go into folder:
cd react-tweets
- Install dependencies:
npm install
- Create local MongoDB databasea called react-tweets (configured in
server.js
) - Replace credentials for Twitter API (configured in
config.js
) - Start the app:
node server.js
- View in browser at:
http://localhost:8080
- Tweet away!