Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Application for checking the availability of sh...
Search
Kazuhito Nakayama
July 27, 2021
Programming
0
89
Application for checking the availability of shared bathrooms
共用のお風呂場の空きを確認できるアプリをLINE Developers Conferenceというイベントで紹介しました!
Kazuhito Nakayama
July 27, 2021
Tweet
Share
More Decks by Kazuhito Nakayama
See All by Kazuhito Nakayama
SentryとCloudWatchを活用した、より安心なプログレッシブデリバリー
kazuhitonakayama
3
590
検索改善ことはじめ Initiating search improvement
kazuhitonakayama
1
190
コロナの感染者数をLINEに日次で通知するアプリを開発した
kazuhitonakayama
0
140
application_manual_Visibath
kazuhitonakayama
0
64
Rails超入門
kazuhitonakayama
0
84
Other Decks in Programming
See All in Programming
Google Play Consoleデベロッパー アカウントの確認 / Verifying your Play Console developer account
kubode
0
310
Memory API: Patterns, Use Cases, and Performance
josepaumard
2
200
GrafanaのHTTP API を眺めてみよう
rinchoku
0
470
学生の時に開催したPerl入学式をきっかけにエンジニアが組織に馴染むために勉強会を主催や仲間と参加して職能間の境界を越えていく
ohmori_yusuke
2
330
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
1
100
rtcamp 10 (vk-illuminati)
yumcyawiz
1
210
組織に自動テストを書く文化を根付かせる戦略(2024秋版) / Building Automated Test Culture 2024 Autumn Edition
twada
PRO
9
3.6k
Subclassing, Composition, Python, and You
hynek
3
190
Debugging: A Few Things You Should Know
jmatsu
1
130
Prompt Engineering for Developers @ AWS Community Day Adria 2024
slobodan
0
100
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
7
1.9k
Mercari AI/LLM Hackathon TeamBの発表資料
imaikosuke
0
190
Featured
See All Featured
Code Review Best Practice
trishagee
64
17k
Building Adaptive Systems
keathley
38
2.2k
GitHub's CSS Performance
jonrohan
1030
450k
Rails Girls Zürich Keynote
gr2m
93
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
130k
Why Our Code Smells
bkeepers
PRO
334
57k
Speed Design
sergeychernyshev
23
550
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
It's Worth the Effort
3n
183
27k
Transcript
シェアハウスの共用風呂 空室状況管理アプリを LINE Botで作ってみた Kazuhito Nakayama
自己紹介 - [ ] 中山 一仁 / Kazuhito Nakayama -
[ ] 新卒1年目 / 22さい - [ ] 好きなマンガ・アニメ - 左ききのエレン - 王様たちのヴァイキング - 僕のヒーローアカデミア - ブルーピリオド
目次 何を作ったか なぜ作ったのか なぜLINE Botなのか どのような仕組みか 作って何を感じたか
何を作ったか
シェアハウスの共用風呂 空室状況管理アプリ
でも動画
なぜ作ったのか
なぜ作ったのか お風呂が空いてるか確認するためにわざわざ現地(浴室)まで行くのがめんどくさい! 予め空室状況が分かっていれば、誰か入ってたら空くまで作業できるし、 空いてればすぐ入りに行ける
なぜ作ったのか 3F 2F 1F ちか 僕がここ お風呂 上り下りえぐい
なぜ作ったのか 50人くらいの人数での生活 × お風呂が男女それぞれ1つずつ = 結構な争奪戦 だから空室状況管理アプリを作って、「もう入ってるんかい〜」みたいな ことをなくしたいと思った!
目次 何を作ったか なぜ作ったのか なぜLINE Botなのか どのような仕組みか 作って何を感じたか
なぜLINE Botなのか
なぜLINE Botなのか Railsでチャチャっと作るか。。。。 けど、いちいち空室確認するのにサイト見るのしんどい、、 とはいえアプリを作ったことないしなああ んん、なんか最近LINE Botで何か作る人おったなあ やってみよか
目次 何を作ったか なぜ作ったのか なぜLINE Botなのか どのような仕組みか 作って何を感じたか
どのような仕組みか
どのような仕組みか サーバー:Lambda がわ:LINE Bot DB:DynamoDB API:Amazon API Gateway API Gateway経由でlambdaに
LINEへの入力データを送る pythonプログラム
どのような仕組みか 一枚の画像 サーバー側に’f_in’というデータが送信される サーバー側に’m_in’というデータが送信される ’f_in’というデータが送信されれば、DBのbuildingが1、genderが1のレコード のvacancyをTRUEにする。 また、user_idカラムに、タイルをクリックしたユーザーのidを挿入する という処理をLambda側で行う クリック! クリック!
builing:1がA棟、2がB棟 gender:1が女性、2が男性 vacancy:Trueが入室、2が空き
目次 何を作ったか なぜ作ったのか なぜLINE Botなのか どのような仕組みか 作って何を感じたか
作って何を感じたか ・自由度めっちゃ高い!! ・ドキュメント見れば大体わかるからありがたい、、、、 ・やっぱりインフラレベルのLINEさんの力を借りて、 比較的簡単にアプリを作れる!
最後に! ありがとうございました! 次は、現在地を送ったら近所のおすすめのお店が出るようにしたいです!