Skip to content

Latest commit

 

History

History
executable file
·
37 lines (26 loc) · 677 Bytes

README.md

File metadata and controls

executable file
·
37 lines (26 loc) · 677 Bytes

react-live-tweets

Demonstration of live twitter streams using React, Node (6 and above) and Socket.io (1.x.x).

Installation

yarn install

Usage

Set twitter access token and consumer key and secret as env variables, preferably in the .env:

CONSUMER_KEY=YOUR_CONSUMER_KEY
CONSUMER_SECRET=YOUR_CONSUMER_SECRET
ACCESS_TOKEN_KEY=YOUR_ACCESS_TOKEN_KEY
ACCESS_TOKEN_SECRET=YOUR_ACCESS_TOKEN_SECRET

And start the development server:

yarn run dev

## Production

Build and run with:

yarn run build
yarn start

Design Illustrations

Design illustrations were designed and created by David Willis