Skip to content
Habitzen

Habitzen

HabitZen is a fun app to build and track habits. Set daily or weekly goals, check them off, and see your progress. Earn points, unlock streaks, and stay motivated as you build lasting habits.

Created on 27th April 2025

•

Habitzen

Habitzen

HabitZen is a fun app to build and track habits. Set daily or weekly goals, check them off, and see your progress. Earn points, unlock streaks, and stay motivated as you build lasting habits.

The problem Habitzen solves

HabitZen is the perfect app to help you stay on track with your daily and weekly goals. Whether you’re building new habits or maintaining existing ones, HabitZen makes the process fun, simple, and rewarding. Here's how it can help:

Track Your Daily & Weekly Habits
HabitZen allows you to easily create and manage your goals, whether you want to do something every day or just a few times a week. Simply mark each task as complete and watch your streaks grow!

Stay Consistent & Motivated
With visual progress trackers, streaks, and points, HabitZen encourages you to stay consistent. Each completed task earns you points and unlocks badges, turning habit-building into a rewarding game. You’ll feel motivated to keep going!

Make Existing Tasks Easier
Already have a routine? Use HabitZen to track and streamline your existing tasks. Set reminders, track completion, and keep your tasks organized in one place, making it easier to stay on top of them every day.

Create Healthy Routines
Whether it’s working out, reading, meditating, or staying hydrated, HabitZen helps you turn good intentions into real habits. It’s designed to support a variety of goals and makes them easier to stick to.

Safe & Simple
HabitZen offers a safe and simple way to track your progress. With no complex features, you’ll only focus on what matters: completing your goals and celebrating your progress.

Challenges I ran into

Challenges I Ran Into
While building HabitZen, I encountered a few challenges along the way, but each one provided valuable learning experiences. Here are a few that stood out:

  1. Firebase Authentication Issues
    At first, I ran into some issues with Firebase Authentication. Users weren’t able to sign in with Google, and I couldn’t figure out why the authentication process was failing intermittently. After digging into the documentation and checking the console logs, I realized the problem was related to OAuth configuration in Firebase. Specifically, I needed to enable the correct redirect URI and set up proper permissions in the Google Cloud Console. Once I updated those settings, the sign-in worked flawlessly.

Solution:

Double-checking the Firebase OAuth settings and ensuring the correct permissions were in place resolved the issue.

  1. Streak Tracker Logic
    Implementing the streak tracker was a bit tricky because I had to account for various edge cases. For example, if a user missed a day, I needed to reset their streak, but only if the missed day was outside their specified habit frequency. Ensuring that the streak was calculated correctly for daily and weekly habits was challenging.

Solution:

I broke the problem down into smaller components and implemented a check that compares the current date with the user’s last completed habit date. If the streak was broken, it would reset accordingly.

  1. UI Responsiveness
    One of the biggest hurdles was ensuring the app was fully responsive and looked great across different screen sizes. Tailwind CSS provided flexibility, but there were still moments when the layout would break, especially on smaller devices. I had to fine-tune the grid system and make adjustments to specific components.

Solution:

After testing on various devices, I made use of Tailwind’s built-in breakpoints and customized a few responsive design settings to fix layout issues. I also ensured the UI elements were adaptable to different screen widths.

Discussion

Builders also viewed

See more projects on Devfolio