Eyes Closed, Head First, Can't Lose

Dead, Beat, Dad - Part 2

We’re building a feeding tracker to replace the paper tracker sitting on the dresser. I’m sure there are many great apps that can do it better, but I’m here for the journey. Besides, an hour of building a day keeps the spirits high and the metaphors tight.

Eyes closed, head first, can’t lose.

Feeding 101

These are the highlights. Well… These are the things that stuck.

Where there’s food, there’s…

You guessed it. Poop. And pee.

Goals

  1. Track amounts and timespans for each feeding.
    1. Date and time
    2. Left and right breast feeding times (minutes)
    3. Left and right pumping times (minutes)
    4. Amount of expressed milk fed to the baby (ml/oz)
    5. Formula, type and amount
    6. Urine and stool passed
  2. Schedule the next few feedings. (And automatically re-schedule when the baby wants a surprise feeding.)
    1. Time
    2. Starting breast, if applicable
  3. Answer pediatric questions
    1. How many times does she feed each day?
    2. About how many minutes does she feed each session?
    3. How much expressed milk was she fed?
    4. How many times has she urinated in the last day?

Non-functional goals

  1. Test myself by building from the ground up using:
    1. golang – Go is my go-to. I’m time constrained, so picking a language that I’m comfortable in and can move quickly with is a must.
    2. htmx – v2 was just released! Taking it for a spin.
    3. templ – Compile-time error checked templates to render the htmx frontend.
    4. sqlc – Generate the repository layer from queries.
    5. dbmate – Uncomplicated DB migration management.
    6. Tailwindcss & DaisyUI – Streamline css and styling so I can focus on functionality.
  2. Program “live” with screen recordings. I haven’t done much live coding recently, and I want to strengthen those muscles.
  3. Be easy and convenient to use. The baseline is walking to the dresser to fill in the paper log after the feeding session.

Here we go.