Inspiration

Building new habits is hard. We all have experienced times when we enthusiastically decided to develop a new habit, such as meditation, but after a few days, plans go awry. There's no accountability and as a result, there is little motivation to regularly do the tasks involved for a particular habit.

What it does

PeerHabit is a social habit tracker where you can build good habits along with your friends. You can build a habit group, set the days on which you want to do it, and then add your friends. After that, everyone can log whether they did a habit or not, on the basis of which the web app will display a consistency graph.

DEMO - https://www.loom.com/share/93e1742431bb41058fba4eb693d6f5b7

How we built it

We used HTML, CSS and JavaScript for the front end while we used Node.js and MongoDB for the back end.

Challenges we ran into

Due to our inexperience in server-side development, we ran into various problems in storing data in the database and fetching it. However, with the help of mentors, we were able to debug the errors and fix them.

Accomplishments that we're proud of

It was the first hackathon for all of us and we are happy that we could create a functional prototype of our idea. However, there is a lot to learn and improve from us based on our experience in the hackathon.

What we learned

It was the first time we learned how to integrate a Node.js backend with frontend code.

What's next for PeerHabit

In the future, we want to improve the design of the web app, add more collaborative habit-tracking features, include a gamification system, and make a companion mobile app.

Share this project:

Updates