nitic_pbl_6's People
Forkers
st19116kinitic_pbl_6's Issues
メールアドレスのvalidationをする
場所を選択式にする
- Locationテーブルを作る
- get_teacher_locationsを作る
-
文字列で扱っていたところをintにする - location_idからLocationを返す関数
lookup_location_by_id
を作る - 場所をidではなく文字列として送るようにする
- フロントを作成する
場所の最終更新日時を表示させる
-
Location
テーブルにlast_updated
カラムを追加する - 場所のupdate時に
last_updated
を更新させる - 場所を返すときにlast_updatedを含めるようにする
- フロントを実装する
名前を取得して返す
- Teacherテーブルにnameカラムを作成する
- /api/teacherを変更する
ログアウトを作る
/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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.