GithubHelp home page GithubHelp logo

nitic_pbl_6's People

Watchers

James Cloos avatar satoooon avatar

Forkers

st19116ki

nitic_pbl_6's Issues

場所を選択式にする

  • Locationテーブルを作る
  • get_teacher_locationsを作る
  • 文字列で扱っていたところをintにする
  • location_idからLocationを返す関数lookup_location_by_idを作る
  • 場所をidではなく文字列として送るようにする
  • フロントを作成する

場所の最終更新日時を表示させる

  • Locationテーブルにlast_updatedカラムを追加する
  • 場所のupdate時にlast_updatedを更新させる
  • 場所を返すときにlast_updatedを含めるようにする
  • フロントを実装する

ログアウトを作る

/api/logoutにアクセスするとログアウトできるようになってるので、index.htmlとかにリンクを張る

学生からのリクエスト機能を作る

色々新しく定義する必要がありそう

  • ユースケース:「現在の場所は教員室の外だけど、用事が終わったら面会できるかを知りたい」
  • 教員だけでなく学生としてアカウントを作成できる
    • ここで件名として短い文章を送れると良さそう
  • 学生は教員に対して面会したいときにリクエストを送れる
  • 教員はリクエストを受け取ることができ、面会できる場合はその旨を学生に伝えられる

実装する必要がある機能

  • Requestテーブルを作成する
    • from_user_id, to_user_id, content, is_accepted, create_dateくらい?
  • Requestに関する関数とAPIを作る
    • create / read / update / delete 実装すれば良さそう
  • フロントを実装する

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.