3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

React × Firebase で体調記録アプリを自作してみた話(Health Log App)

Posted at

導入文:

業務とは関係ないのですが、
自分の体調変化を記録・分析したくて、小さなログアプリをReactで開発しました。
備忘録も兼ねて構成・工夫点・苦戦ポイントをまとめます。

技術スタック:
• フロント:React + TypeScript(CRA)
• バックエンド:Firebase Firestore
• デプロイ:Vercel
• UI:React Calendar、CSS-in-JS(style要素にまとめ)

実装のポイント:
• FirestoreへのCRUD(保存・削除・更新)を自作関数でまとめて管理
• localStorageも併用し、即時性と永続性をバランスよく
• カレンダーで日付ごとにフィルター
• Markdown形式に変換してワンクリックコピー
• prefers-color-scheme でダークモード対応

screenshot01.png
screenshot02.png

まとめ:

「体調記録」ってすぐ忘れる。でも記録があると病院でも説明しやすいし、自分の振り返りにも便利。
React × Firebaseでここまで作れるという参考にもなれば嬉しいです。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?