alexhawkins / phoenix-react-redux-example

Phoenix framework example using React and Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phoenix + React + Redux Example

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.

About

Phoenix framework example using React and Redux

License:MIT License


Languages

Language:JavaScript 73.8%Language:Elixir 24.8%Language:HTML 1.4%