Habit tracker app: architecture
The parts of a small web app and what reads or writes what, from login to the streak count.
Example board made by the Imagination Board team.
Nodes in order 10
What feeds into a node comes before it.
Settings page
Login
Fed by Frontend (starts at)
Sessions table
Fed by Login (writes) · API (reads)
Frontend
Fed by Streak calculation (shown in)
API
Fed by Frontend (calls)
Habits table
Fed by API (reads and writes) · Settings page (edits)
Notifications
Fed by Habits table (schedules)
Deploy
Fed by API (ships in)
Check-ins table
Fed by API (writes)
Streak calculation
A missed day resets; a freeze token skips one.
Fed by Check-ins table (feeds)