/eventsforst

Primary LanguageJavaScriptMIT LicenseMIT

Phoenix Trello

Build Status

Trello tribute done with Elixir, Phoenix Framework, Webpack, React and Redux.

board

Tutorial

  1. Intro and selected stack
  2. Phoenix Framework project setup
  3. The User model and JWT auth
  4. Front-end for sign up with React and Redux
  5. Database seeding and sign in controller
  6. Front-end authentication with React and Redux
  7. Setting up sockets and channels
  8. Listing and creating new boards
  9. Adding board members
  10. Tracking connected board members
  11. Adding lists and cards
  12. Deploying our application on Heroku

Live demo

https://phoenix-trello.herokuapp.com

Requirements

You need to have Elixir v1.3 and PostgreSQL installed.

Installation instructions

To start your Phoenix Trello app:

  1. Install dependencies with mix deps.get
  2. Ensure webpack is installed. ie: npm install -g webpack
  3. Install npm packages with npm install
  4. Create and migrate your database with mix ecto.create && mix ecto.migrate
  5. Run seeds to create demo user with mix run priv/repo/seeds.exs
  6. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Enjoy!

Testing

Integration tests with Hound and Selenium ChromeDriver. Instructions:

  1. Install ChromeDriver with npm install -g chromedriver
  2. Run ChromeDriver in a new terminal window with chromedriver &
  3. Run tests with mix test

If you don't want to run integration tests just run mix test --exclude integration.

License

See LICENSE.