Streakly: a simple daily habit tracker
Problem in one sentence: people start small habits like reading or drinking water, then lose track after about a week because nothing shows their progress.
Today
0 of 0 done
Tap a habit when you finish it.
New habit
Keep it small enough to do on a busy day.
This week
Last 7 days, today included.
0%habits completed
0best streak (days)
๐ฅ User stories
- As a busy student, I want to add a habit with an emoji and a daily goal, so that my list feels personal and realistic.
- As a user, I want to check off a habit in one tap, so that logging takes less than 5 seconds.
- As a user with a counted goal (8 glasses of water), I want each tap to add one, so that I can log through the day.
- As a user, I want to see my last 7 days as dots, so that I notice a streak and do not want to break it.
- As a user, I want a weekly completion rate and best streak, so that I know if I am improving.
๐ฑ Screens
| Screen | What it shows | Actions |
|---|---|---|
| Today | Progress ring, habit list, 7-day dots, current streak | Tap to log; tap a finished habit to reset today |
| Add habit | Name, emoji grid, goal stepper | Validate name, save, return to Today |
| Stats | Weekly completion %, best streak, bar chart per day | Read only |
๐๏ธ Data model
| Entity | Fields (type) | Notes |
|---|---|---|
| Habit | id (string), name (string), emoji (string), goal (number), createdAt (date) | goal = taps needed per day |
| Log | habitId (string), date (YYYY-MM-DD), count (number) | Done when count โฅ goal |
Streak = consecutive done days ending today (or yesterday if today is not done yet). Completion % = done habit-days รท total habit-days this week.
๐งฐ Tech-stack notes
- Weekend 1: this prototype is plain HTML, CSS and JavaScript; data lives in a JavaScript array. Next, save it with
localStorage(the browser's built-in storage) so it survives a refresh. - Weekend 2: make it installable as a PWA (a web app that can sit on your home screen) with a small manifest file; no backend needed.
- Dates: store as
YYYY-MM-DDstrings to avoid time-zone bugs when comparing days. - Assumption: one person per device; accounts and sync are out of scope for this MVP.
โก๏ธ Next steps
- Use it yourself for 7 days before demo day and fix what annoys you.
- Add an empty state message for first-time users (no habits yet).
- Prepare a 2-minute demo: add "Read 10 pages", log it, show the streak and stats.
โ Questions to sharpen version 2
- Do you want reminders, and at a fixed time or a time per habit?
- Should a habit be able to skip days (for example weekdays only)?
- What should happen to a streak when you miss one day: reset, or one free "freeze" per week?
Want me to turn this into a Flutter or React Native starter with local storage already wired up?