💡 Inspiration

I've always been frustrated by New Year's resolutions that last two weeks. I realized that people don't fail because they are lazy; they fail because their plans are generic. I wanted to build an app that acts like a Behavioral Psychologist in your pocket, creating plans that actually fit a specific lifestyle, not just a template.

🤖 What it does

Habit Architect is an intelligent dashboard that adapts to the user:

  1. AI Planning: You tell it a goal (e.g., "I want to run a marathon"), and it generates a structured 12-week micro-habit schedule using Google Gemini.
  2. Smart Check-ins: Instead of just checking boxes, users chat with an AI Coach. If they miss a habit, it asks "Why?" and offers empathy instead of judgment.
  3. Dynamic Insights: The dashboard explains why every habit matters, personalized to the user's specific biology and goals.

⚙️ How I built it

I built this as a solo developer using a modern full-stack approach:

  • Frontend: React + Vite (for speed) and Tailwind CSS (for the "Lovable" UI).
  • Backend: Firebase Auth (secure Google Login) and Firestore (Real-time database).
  • AI Brain: Google Gemini 2.5 Flash API (generating JSON plans and handling chat context).
  • Hosting: Vercel.

🚧 Challenges I ran into

Connecting the "Brain" to the "Body" was the hardest part. I struggled to get Gemini to output perfect JSON data that my React code could read as checkboxes. I solved this by using strict schema prompting and error handling to force the AI into a structured "Architect Mode."

🏅 Accomplishments that I'm proud of

  • Full-Stack Solo: I integrated a full Authentication system (Firebase) and Database by myself.
  • True AI Generation: The app generates a completely unique plan every time—no hardcoded templates.
  • Real-Time Sync: I hooked up Firestore so the app updates instantly across devices.

🚀 What's next for Habit Architect

I want to add "Gamification 2.0"—allowing users to bet money on their habits (Stikk integration) and adding a "Challenge a Friend" mode.

Built With

Share this project:

Updates