Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.28 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.28 KB

Phoenix + React + Redux Example

Integrating React and Redux with the Phoenix web framework.

Heavily inspired by @ryanswapp's elixir-react-redux-example.

Implementation of the basic TODO example from the Redux documentation.

Uses an Elixir agent for in-memory persistence of the TODO list.

Phoenix channels (websocket) are used for client <=> server communication and to support multiple users.

Demonstrates an end-to-end integration of the following tools.

Quickstart guide

  1. Clone repository with git clone https://github.com/slashdotdash/phoenix-react-redux-example.git
  2. Install npm dependencies with npm install
  3. Install Phoenix dependencies with mix deps.get
  4. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.