## Background
I made this android app a few years back called "My Car". I didn't really tell anyone about it but I was using it to track my car maintenance. Funny enough I saw people on reddit talk about wanting something for their homelab and I was thinking "oh I did that!". I open up a laptop, re-downloaded my code, and got Claude to move my Android app into a Docker app.
## What I learned
Picking Kotlin Multiplatform for the original app wasn't a bad idea. A lot of that code was shared and reused. Pretty dope to see as my brain definitely wasn't making those connections at first. The "problem" ended up being that I didn't actually have Docker or Gradle on my laptop. I know Android does some weird placement things with Gradle so I never focus on it, but I'm now covered with `brew install`. Also because I use a m1 Mac the whole docker thing was strange. My coworker told me about Colima so that's what I used so that I could build and test everything.
Anyway, seeing what is/isn't reusable when using Kotlin Multiplatform was cool. The frontend changed quite a bit but I was using Room which isn't too far off from Postgresql. What I found weird is that Claude had to rewrite the classes...models...not sure the right word here. I didn't look too deep into it because they were 1:1, so I'll be looking into that more over time.
## The App
My Car turned into My Garage (I think it fits more). I only focused on the full Docker version (frontend and backend in one) at this time. If I get bothered enough before xmas I'll work on the frontend only version to be used with Docker Compose and I'll write better docs somewhere. Until then if you have some free space and want to try the app run the below command. I take any and all feedback [here](https://workflow.keheira.com/form/f620f768-165e-4461-8f33-b5c4a53a604e). I'll make sure to put this url on the next version of the app as well. lol
``` bash
docker run -d \
--name mygarage \
-p 8080:8080 \
-v mygarage-data:/var/lib/postgresql/14/main \
-e POSTGRES_PASSWORD=changeme \
keheira/mygarage:v1.0.0-full
```