Giter Site home page Giter Site logo

kanban's Introduction

kanban

要件

  • アカウント管理機能がある
    • 認証は必須だが、認可はオプション
  • アカウントを用いてログインできる
  • タスクには件名と状態、そして作成したアカウントを持つ
    • 件名は必須
    • 状態は未完了と完了
  • タスクを一覧できる
    • 未完了、完了での絞り込みができる
  • タスクを作成、編集できる
    • 作成、編集の対象は件名を入力する
  • タスクを削除できる
  • タスクを未完了から完了に変更できる

オプション課題

オプション課題として、基本課題で開発した web サービスに対して変更を加えてください。 この課題は任意です。 実装しなくても構いませんし、実装して自身の強みなどのアピールのために使用することもできます。

オプション課題に取り組む場合は、取り組んだ内容をドキュメントに明記してください。 変更内容は自由です。 下記の例を参考にしてください。

基礎発展系

  • 状態を未着手、着手中、完了の3状態を扱えるようにする
  • 認証機能を追加する

インフラ系

  • 作成したサービスを Docker で起動できるようにする

フロントエンド系

  • サービスの見た目を整える
  • Ajax を用いてタスクの登録、状態の変更をできるようにする

サーバーサイド系

  • タスクを自然言語で検索できるようにする
  • タスクに締め切りを設定できるようにする (未完了の状態で締め切りに近づいた時、ユーザーにメール通知が飛ぶように)

configuration

config/application.confを編集してください。

データベースの設定

そのままではH2DBを使用するので各環境に用意されたMySQLなどの接続情報に書き換えてください

# slick settings
slick.dbs.default.profile = "slick.jdbc.H2Profile$"
slick.dbs.default.db.driver = "
slick.dbs.default.db.url = "jdbc:mysql://<.....>"
slick.dbs.default.db.user = "your username"
slick.dbs.default.db.password = "your password"

EMail通知設定

通知にはplay-mailerを利用しています。 Senderには通知を送るユーザーを指定してください。

# email notification settings
kanban.notification.email {
  sender = "[email protected]"
}
play.mailer {
  mock = yes
}

play.mailerの設定は以下を参考にしてください(デフォルトではモックの実装になります)

play.mailer {
  host = "example.com" // (mandatory)
  port = 25 // (defaults to 25)
  ssl = no // (defaults to no)
  tls = no // (defaults to no)
  tlsRequired = no // (defaults to no)
  user = null // (optional)
  password = null // (optional)
  debug = no // (defaults to no, to take effect you also need to set the log level to "DEBUG" for the application logger)
  timeout = null // (defaults to 60s in milliseconds)
  connectiontimeout = null // (defaults to 60s in milliseconds)
  mock = no // (defaults to no, will only log all the email properties instead of sending an email)
}

for developer

ビルド方法

sbt compile

起動方法

sbt runまたはsbt start

テスト方法

sbt test:compile test

docker

ビルド済みのイメージがhttps://hub.docker.com/r/abrengw/kanban/にあります

イメージの作成

sbt docker:publishLocal

コンテナの起動

docker run -d -v <path_to_your_config>:/opt/docker/conf/application.conf -p <port>:9000 kanban:1.0.1

kanban's People

Contributors

suikwasha avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.