Trello tribute done with Elixir, Phoenix Framework, Webpack, React and Redux.
- Intro and selected stack
- Phoenix Framework project setup
- The User model and JWT auth
- Front-end for sign up with React and Redux
- Database seeding and sign in controller
- Front-end authentication with React and Redux
- Setting up sockets and channels
- Listing and creating new boards
- Adding board members
- Tracking connected board members
- Adding lists and cards
- Deploying our application on Heroku
https://phoenix-trello.herokuapp.com
You need to have Elixir v1.3 and PostgreSQL installed.
To start your Phoenix Trello app:
- Install dependencies with
mix deps.get
- Ensure webpack is installed. ie:
npm install -g webpack
- Install npm packages with
npm install
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Run seeds to create demo user with
mix run priv/repo/seeds.exs
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Enjoy!
Integration tests with Hound and Selenium ChromeDriver. Instructions:
- Install ChromeDriver with
npm install -g chromedriver
- Run ChromeDriver in a new terminal window with
chromedriver &
- Run tests with
mix test
If you don't want to run integration tests just run mix test --exclude integration
.
See LICENSE.