A new Flutter project.
ssh [email protected] -p 22
-
ホスト
- サーバーに接続
- ホスト(押下)で、ルームのTokenとルーム名を入力して、サーバーに送信
- 生成した文字列とTokenをサーバーに送信
- サーバーから、ルームのTokenとルーム名を他端末に送信
-
ゲスト
- サーバーに接続
- ゲスト(押下)で、ルーム名一覧を取得(更新ボタンで更新か、1分で更新)
- ルーム名を選択して、サーバーに送信
- スイッチエリアに画面遷移
- 押下で、ルームのTokenと(ON・OFF)をサーバーに送信
- ホストにカウントアップ・ダウンして送信
-
ルームテーブル
name type PRIMARY KEY id int ◯ room_roken varchar room_name varchar -
ルームテーブル