<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kobyconrad</title>
    <description>The latest articles on DEV Community by kobyconrad (@kobyconrad).</description>
    <link>https://dev.to/kobyconrad</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F208223%2F272862eb-ede3-4d4b-9fb4-8b25f4a9b087.jpg</url>
      <title>DEV Community: kobyconrad</title>
      <link>https://dev.to/kobyconrad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kobyconrad"/>
    <language>en</language>
    <item>
      <title>[Launch] Sunflower - Rewire your brain to associate sobriety with reward 🌻</title>
      <dc:creator>kobyconrad</dc:creator>
      <pubDate>Tue, 28 Sep 2021 14:29:46 +0000</pubDate>
      <link>https://dev.to/kobyconrad/launch-sunflower-rewire-your-brain-to-associate-sobriety-with-reward-3i01</link>
      <guid>https://dev.to/kobyconrad/launch-sunflower-rewire-your-brain-to-associate-sobriety-with-reward-3i01</guid>
      <description>&lt;p&gt;After 1.5 years of learning to code, half a bootcamp, 1150 Github commits, and one failed startup - I finally built an iOS app that people &lt;strong&gt;actually&lt;/strong&gt; use. :)&lt;/p&gt;

&lt;p&gt;Despite being a super shitty programmer, today I am proud to announce the launch of Sunflower. 🌻&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apps.apple.com/us/app/sunflower-sober-tracker/id1547099435"&gt;Sunflower is an iOS app&lt;/a&gt; that uses a version of bastardized Cognitive Behavioral Therapy combined with the core tenants of progression tracking to help train your brain into associating sobriety with reward. &lt;/p&gt;

&lt;p&gt;In this post I'm going to outline the story behind Sunflower, the product strategy that helped me build something people actually use, and the technical specs of how it's built. &lt;/p&gt;

&lt;h2&gt;
  
  
  Story Time
&lt;/h2&gt;

&lt;p&gt;I'm a high preforming addict. &lt;/p&gt;

&lt;p&gt;Starting from the age of 19, I smoked Cannabis almost every day for about 4 years. &lt;/p&gt;

&lt;p&gt;I was really good at smoking Cannabis. &lt;/p&gt;

&lt;p&gt;I started a Hippie Shop that had 500,000 followers. I started the highest rated cleaning service in Idaho. I built an amazing digital marketing agency. I became the National Advertising Director for a $500M mortgage bank. &lt;/p&gt;

&lt;p&gt;Between society telling me "weed isn't addictive" and my own personal achievements, it took a LOT of soul searching to realize that I had a problem. &lt;/p&gt;

&lt;p&gt;After spending enough time on &lt;a href="https://reddit.com/r/leaves"&gt;r/leaves&lt;/a&gt;, I decided it was time to quit. &lt;/p&gt;

&lt;p&gt;I threw away all of my Cannabis, gave away my glass... and then 48 hours later I relapsed for the first time. &lt;/p&gt;

&lt;p&gt;Turns out, quitting Cannabis after 4 years of daily heavy 24/7 use &lt;strong&gt;fucking sucks&lt;/strong&gt;. At least it did for me. &lt;/p&gt;

&lt;p&gt;For about the first two weeks I could hardly eat or sleep. After that a &lt;strong&gt;heavy&lt;/strong&gt; depression set in for about ~12 months. I continued to fail at getting sober, relapse after relapse after relapse. &lt;/p&gt;

&lt;p&gt;After maybe the 100th time of trying to quit smoking, I painfully started to learn the core tenant of Sunflower. &lt;/p&gt;

&lt;p&gt;It's not enough to stay sober. You HAVE to rewire your brain. &lt;/p&gt;

&lt;p&gt;As a product manager we learn there are 3 core motivators, rewards of the self, of the tribe, and of the hunt. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Drugs are a cheat code.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They teach you to ignore these natural rewards, and to seek them through substances. &lt;/p&gt;

&lt;p&gt;Simply stopping your use isn't enough, because even once you make it through the physical withdrawals, your brain still deeply associates your drug of choice, with reward. &lt;/p&gt;

&lt;p&gt;The true secret to becoming sober, is learning to associate healthy activities with reward. &lt;/p&gt;

&lt;p&gt;For me - it was a combination of exercise (Brazilian Jiu Jitsu), and learning to code. &lt;/p&gt;

&lt;p&gt;Learning things is deeply addictive. It's a good kind of addictive. The kind that triggers your reward of self, that pushes you to be a better person. Programming to me is this beautiful never ending rabbit hole of self improvement.&lt;/p&gt;

&lt;p&gt;I was a high preforming addict, but getting sober just drastically multiplied my potential. &lt;/p&gt;

&lt;p&gt;Programming was something I always failed at because I was high, and Sunflower is my testament that while I'm still a major noob, I'm now good enough to build a shitty product that some people use. &lt;/p&gt;

&lt;h2&gt;
  
  
  Building Something People Use
&lt;/h2&gt;

&lt;p&gt;I built Sunflower around a few core "tasks to be done" that has resulted in a product that has extremely flat retention, and that a small core group of users actually love! &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Addicts need to track how long they have been sober for.&lt;/li&gt;
&lt;li&gt;Addicts need to track their cravings (and learn to overcome them). &lt;/li&gt;
&lt;li&gt;Addicts need to learn to associate positive activities with reward. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The first point is the core of the product. Every day you stay sober, you earn a new sunflower within the app.&lt;/p&gt;

&lt;p&gt;It's cheesy, but this is surprisingly effective at helping you to associate sobriety with "reward" AND it helps create very strong retention. &lt;/p&gt;

&lt;p&gt;If you are an addict, you never give up your sobriety chip. &lt;/p&gt;

&lt;p&gt;Cravings are a trigger that bring people back into the app. There is a guided journaling exercise that helps to track you cravings, and identify common fallacies with your thinking. &lt;/p&gt;

&lt;p&gt;Finally, there is a second guided journaling exercise that uses a bastardized version of Cognitive Behavioral Therapy to help teach your brain to associate positive activities with reward.&lt;/p&gt;

&lt;p&gt;It's really simple, and again I'm a shit programmer, but the combination of building around these core tasks to be done has resulted in super flat retention &amp;amp; a strong NPS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;The entire app is built using React Native! I went through half of a Hack Reactor bootcamp which helped boost my javascript skills, so while I kind of want to learn Swift, I am mainly a Javascript programmer. &lt;/p&gt;

&lt;p&gt;I use &lt;a href="https://expo.dev/"&gt;Expo&lt;/a&gt; as my framework, it's honestly really amazing for building and testing mobile apps. If you've never tried it, I highly recommend. It comes with a number of libraries that I've used to add in the haptics, splash screen, "ask for review" feature, Segment analytics, and a ton more. &lt;/p&gt;

&lt;p&gt;Expo makes it super easy to run a Simulator on my computer (or iPhone) and then I can simply &lt;code&gt;expo build ios&lt;/code&gt; to create the build which I use Transporter to send to the iOS store. &lt;/p&gt;

&lt;p&gt;For analytics I set up &lt;a href="https://segment.com/"&gt;Segment&lt;/a&gt; and then hooked up a combination of &lt;a href="https://posthog.com/"&gt;Posthog&lt;/a&gt; &amp;amp; &lt;a href="https://amplitude.com/"&gt;Amplitude&lt;/a&gt;. Amplitude is probably the main analytics tool that allows me to see DAU, anonymized journal usage, and retention, but I just love the funnel visualizations that Posthog provides. &lt;/p&gt;

&lt;p&gt;If you have some sadistic desire to look at my terrifying code, you can check it out on Github &lt;a href="https://github.com/kobyconrad/Sunflower-App"&gt;here&lt;/a&gt;. ⭐&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; Today I launched &lt;a href="https://apps.apple.com/us/app/sunflower-sober-tracker/id1547099435"&gt;Sunflower&lt;/a&gt;! An iOS app that helps you rewire your mind to associate sobriety with reward through a combination of progression tracking &amp;amp; bastardized Cognitive Behavioral Therapy. &lt;/p&gt;

</description>
      <category>ios</category>
      <category>reactnative</category>
      <category>javascript</category>
      <category>startup</category>
    </item>
    <item>
      <title>I launched my first product - and it's horrible</title>
      <dc:creator>kobyconrad</dc:creator>
      <pubDate>Fri, 07 Aug 2020 17:34:14 +0000</pubDate>
      <link>https://dev.to/kobyconrad/i-launched-my-first-product-and-it-s-horrible-41en</link>
      <guid>https://dev.to/kobyconrad/i-launched-my-first-product-and-it-s-horrible-41en</guid>
      <description>&lt;p&gt;After programming for about 6 months I launched what I considered to be my first "real" product, &lt;a href="https://stopjobhunting.com/"&gt;Stop Job Hunting&lt;/a&gt;. It's a resume builder that is based off a place I used to work.&lt;/p&gt;

&lt;p&gt;(Only ever meant to be a demo product please don't sue me.)&lt;/p&gt;

&lt;p&gt;I'm proud of two things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It actually works. You can go through, build a resume, and it spits out a PDF. &lt;/li&gt;
&lt;li&gt;I learned a ton of new technical concepts by building it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After spending well over a hundred hours and thousands of lines of code, I finally launched it into the world, and the world quickly told me about all of the bugs.&lt;/p&gt;

&lt;p&gt;I decided I wanted to push forwards with other projects, and that I had succeeded by launching my MVP.&lt;/p&gt;

&lt;p&gt;Before I laid it to rest however, I wanted to just write down some of the interesting technical parts of this project. &lt;/p&gt;

&lt;h1&gt;
  
  
  React, Node, Express
&lt;/h1&gt;

&lt;p&gt;The client is built entirely in React, with the backend in Node &amp;amp; Express. I have been programming in React since almost day 1, but I built a server for the first time maybe a month before this project. &lt;/p&gt;

&lt;h1&gt;
  
  
  MongoDB + Mongoose
&lt;/h1&gt;

&lt;p&gt;The database itself was built using MongoDB + Mongoose, both services that I had never used before.&lt;/p&gt;

&lt;h1&gt;
  
  
  Custom Auth System
&lt;/h1&gt;

&lt;p&gt;I was very tempted to use 0Auth or another service to handle the authentication for me, but I ended up building it from scratch myself. &lt;/p&gt;

&lt;h1&gt;
  
  
  Hack My Resume
&lt;/h1&gt;

&lt;p&gt;This project pivoted around an NPM library called &lt;a href="https://github.com/hacksalot/HackMyResume"&gt;Hack My Resume&lt;/a&gt; which takes a json string and can turn it into a resume. &lt;/p&gt;

&lt;h1&gt;
  
  
  Vercel + Heroku
&lt;/h1&gt;

&lt;p&gt;The client is hosted on Vercel and the server is hosted on Heroku. I had used Vercel to host most of my projects because I had never really used a server before - it was my first time using Heroku. &lt;/p&gt;

&lt;h1&gt;
  
  
  Docker Containers
&lt;/h1&gt;

&lt;p&gt;Another thing I realized I had never done before, is use an NPM library that wasn't "saved" in the local project, but on the computer. This meant that when I tried to push my project to production that Hack My Resume wouldn't actually work.&lt;/p&gt;

&lt;p&gt;To fix this I used Docker Containers to hold my server, which I was then able to install Hack My Resume onto. &lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;If for whatever reason you are sadistic enough to look at the code you can check it out below. &lt;/p&gt;

&lt;p&gt;Server =&amp;gt; &lt;a href="https://github.com/Stop-Job-Hunting/dev-server"&gt;https://github.com/Stop-Job-Hunting/dev-server&lt;/a&gt;&lt;br&gt;
Client =&amp;gt; &lt;a href="https://github.com/Stop-Job-Hunting/dev-client"&gt;https://github.com/Stop-Job-Hunting/dev-client&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers :) &lt;/p&gt;

</description>
      <category>react</category>
      <category>node</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>title</title>
      <dc:creator>kobyconrad</dc:creator>
      <pubDate>Wed, 24 Jun 2020 21:44:36 +0000</pubDate>
      <link>https://dev.to/kobyconrad/do-dev-to-articles-have-followed-backlinks-35h6</link>
      <guid>https://dev.to/kobyconrad/do-dev-to-articles-have-followed-backlinks-35h6</guid>
      <description>&lt;p&gt;description&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
