Inspiration
We wanted to help people recover from addiction. Our initial inspiration was helping people with addiction celebrate small wins by creating a community of people going through similar things. This evolved to prevent relapses by offering support to an individual when flags of a relapse are detected based on their activity.
What it does
Users can track their addiction recovery with a calendar feature and write about their day. This helps them track their overall progress, and lets us predict when they might have relapses. The data we use to predict this is the typical number of days in between relapses and the words they use in the days leading up to relapses. From there, we provide supportive measures to keep the user out of danger of relapsing. Users can also post to a forum of other users. There are three types of posts: milestones, things that make you happy, and vent posts. When someone replies to a post, it goes straight to the inbox of the person who made the post. No one else sees it or sees how many replies other posts got.
How we built it
We wrote a prompt with most of our core features specified to get a prototype working. From there, we refined our vision: we figured out what we wanted the user experience to be like and how we wanted the features to work. Once we figured that out, we moved on to spec-driven development. Finally, we polished the website by making sure features worked as intended and that all the styling was right.
Challenges we ran into
Our biggest challenges were connecting to Supabase. Kiro gave us SQL queries to run to speed up the process, but they were often incomplete and had/caused issues, requiring several iterations to get it working right.
Accomplishments that we're proud of
There are certainly other addiction or habit tracking apps out there, as well as communities, but what sets us apart is how we combine these two in addition to other other features and data tracking to subtly support someone in choosing themselves. We are also proud of our relapse flagging algorithm. It is a fairly simple algorithm but works effectively with limited, non-invasive data.
What we learned
We learned how to use spec-driven development as opposed to just vibe coding. We learned about the basic workflow with design.md, requirements.md, tasks.md, and how those all came together to create a working product. We also learned about the limitations of AI development. For example, colors could be inconsistent or didn't make sense. Additionally, the AI (as you might expect) didn't intuitively understand "human" concerns such as what language/information might be distressing to someone.
What's next for Recovery Place
We would like to work with psychologists and therapists to make sure that the language we use in our website doesn't encourage shame. We would also like to find out if our features actually assist someone in not relapsing, and what other features we can add.
Built With
- css
- fast-check
- react-19
- supabase-(postgresql-+-pgcrypto)
- typescript
- vite
- vitest
Log in or sign up for Devpost to join the conversation.