Inspiration

The idea of **habit-building inspired us as a heroic journey. Too often, productivity tools feel cold and mechanical. We wanted to make something that feels motivating, personal, and even fun—turning self-improvement into an adventure aligned with your deeper values.

What it does

  • Starts with a short survey to identify a user's core values and goals.
  • Uses Gemini API to generate personalized productivity tasks for each goal.
  • Lets users add their own tasks.
  • Recommends new tasks based on past behavior using AI.
  • Implements a rating system that grows as users complete tasks.
  • Adapts task difficulty based on the user’s rating.
  • Includes animations that evolve with user progress—making the experience visual and engaging.

How we built it

  • Frontend React + Vite for a fast, modern UI.
  • Backend Express.js to handle API routes and integrate with the AI model.
  • Database MongoDB with Atlas for secure and scalable cloud storage.
  • AI Integration: Gemini API (Google) for generating custom task lists from user-provided goals.

Challenges we ran into

  • Crafting effective prompts to get structured JSON responses from Gemini.
  • Managing dynamic user state and syncing between frontend and backend.
  • Debugging issues with MongoDB auto-generating unwanted test collections.

Accomplishments that we're proud of

  • Built a full-stack app with working AI integration in under 36 hours.
  • Achieved seamless task generation from user goals using the Gemini API.
  • Designed an experience that feels personalized, gamified, and growth-oriented.
  • Made productivity feel less like a chore and more like a character-building quest.

What we learned

  • How to build with Gemini API and structure prompts for reliable, formatted output.
  • More advanced state management between frontend components and API responses.

What's next for HeroHabits

  • Refine the AI feedback loop to make future task recommendations smarter.
  • Add streak tracking and a visual dashboard for analytics.
  • Implement more interactive visuals based on rating growth.
  • Allow users to “level up” and unlock new features or themes over time.
  • Explore mobile deployment to make it easier to use HeroHabits on-the-go.
Share this project:

Updates