ticker-react is an example React client which pulls stock quotes from the (defunct but still available) Google Finance API by using the ticker-phoenix Elixir Phoenix app. This React client app subsribes to Phoenix Channels with stock ticker symbols and is periodically notified of updates.
To see the ticker-react app in action, head over to
- ticker-elixir Elixir OTP app
- [ticker-phoenix] (https://github.com/philcallister/ticker-phoenix) Elixir Phoenix app
The sample was developed using the following
- OS X El Capitan (10.11)
Clone Repo
git clone https://github.com/philcallister/ticker-react.git
You'll need Node to run the JavaScript server and have access to NPM. To install on OS X with Homebrew, run the following brew command
brew install node
Start the server
npm install && npm start
You'll want to make sure the Elixir Phoenix app is also running. If you haven't done so, follow the instructions for getting it installed and running at ticker-phoenix.
With both the Phoenix and React apps started, you can see it in action from your browser by visiting http://localhost:3000
Free Software, Hell Yeah!