Skip to content
项目

关于

使用 Elixir、Phoenix Framework、React 和 Redux 打造的 Trello 致敬作品。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…