Readit News logoReadit News
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
Soerensen · 11 days ago
The approach of building for one specific user (your wife) rather than abstracting too early is underrated. You end up with something that actually fits the workflows instead of a generic tool that needs heavy configuration.

Elixir + Ash is an interesting choice for this domain. LiveView particularly shines for internal tools like this where you want the interactivity without managing a separate frontend build. Curious how the AI code generation worked with Ash specifically - the declarative nature seems like it could either help a lot (clear patterns) or confuse models that expect more explicit code.

The BOM with cost rollups is the feature that would have saved me hours in a previous project. Most small batch producers I know either overprice everything out of caution or underestimate costs because tracking ingredient pricing through recipes is tedious in spreadsheets.

deofoo · 11 days ago
Elixir + Ash is so good, and AI works very well with it because it can understand the domain you are working in. LiveView is amazing, not just for internal tools. I would even say that in most cases it will outperform flashy UIs, because it focuses on actual users who work with the app every day, not people who just want to be impressed for a minute
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
dhatawesomedude · 11 days ago
This looks great! Love the screenshots, although I'm unable to login to the app. Likely due to the extra traffic this post has gotten. How long did it take you to build this ?
deofoo · 11 days ago
Yeah, trying to pump more memory. It took a few weekends over a long period of time
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
artemave · 11 days ago
And I built e-commerce for my wife's micro-bakery https://thonon-les-pains.fr/ (most of it - like product and order management - is behind auth).

I don't think it's useful to anyone - not white label, not open source - but still funny :)

deofoo · 11 days ago
Love that. I was thinking to add e-commerce layer
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
jack_pp · 11 days ago
Can you estimate how many hours went into this? Did you use agents?
deofoo · 11 days ago
A few weekends. At the end I used AI to get JSON:API and GraphQL working, plus the docs website, a few UI changes + bug fixing
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
lateral_cloud · 11 days ago
Nice work. My wife will love this. Only minor gripe is the production schedule doesn't play nicely on mobile. Text leaks between columns.
deofoo · 11 days ago
Fixed!
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
spockz · 11 days ago
This is amazing! My wife is also planning to open up a bakery and I was thinking of building something similar. Hadn’t thought of that daily production workflow, just the ingredients and recipes into cost/labour/profit parts.

Some small things: When trying to edit a product (almond cookies) on the phone, I cannot scroll the pop-up so cannot go to all fields or the save button. When calculating the total calories it prints kg as the unit instead of cal. On the overview page of materials for a product it only shows “grams” per ingredient without the actual number.

deofoo · 11 days ago
Fixed!
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
larodi · 11 days ago
> You do realize that making software by developer for his wife means for random business is hiring a third party dev to build custom software?

No, this is not true. There are so many non-technical users of Microsoft Access that run their won businesses without hiring anyone. A friend of mine had a business with an yearly turnover shy of $3M (which is small, alright) and it was running wired spreadsheets and google forms. 20 people. He never ever bought any software, and existed for more than 10 years, until his wife (yes his waifu) decided to divorce and bring the company down.

Business Architecture is not so much about writing the software, sorry, we as IT professionals would love to think it is, but this is a super weak bias.

deofoo · 11 days ago
So true, we devs are so stuck in our own bubble
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
shane_kerns · 11 days ago
This is a great piece of software, with much thought put into nitty gritty details. Aside from the gripes around the mobile experience that some have outlined here, I would say you've put much thought into this piece of software. Your wife is lucky that she has a talented software developer for a husband. AI or no AI, I think this is a very clean and beautiful piece of software. This doesn't seem like its Vibe coded, because AI doesn't write such clean code but maybe AI is improving and I'm just bad at telling which is which. Nonetheless, keep up the great work and thanks for sharing. I'm downloading it just to learn from your codebase. Its not like before AI came around talented devs didn't create working side projects to help their loved ones out.
deofoo · 11 days ago
The truth is that I put a lot of work in at the beginning to define the data structure and flows by myself. AI was very useful later to experiment with how to build the views on top of it and to fix some issues.

I still had to think hard about how to make this simple and easy for someone who does not have deep knowledge of this manufacturing domain.

*Lessons learned:*

  1. Data structure is almost everything, then comes business logic
  2. You must have deep domain knowledge of what you are building
  3. Iterate fast on the views built on top of the data structure

*PS*

All mobile fixed had been resolved and deployed ;)

deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
mandeepj · 11 days ago
Is the logic behind "Usage Forecast" and "Reorder Planner" hard-coded somewhere? I'm not seeing any configuration for that, so I had to ask the question.
deofoo · 11 days ago
Right now it's hard-coded. But based on your feedback I'm going to make some of it configurable
deofoo commented on Show HN: Craftplan – I built my wife a production management tool for her bakery   github.com/puemos/craftpl... · Posted by u/deofoo
fud101 · 11 days ago
This is incredible work. Can we get a blog post?
deofoo · 11 days ago
Maybe? What would you like to hear about?

u/deofoo

KarmaCake day595April 29, 2020
About
i build stuff, mostly software, mostly open-source, mostly working
View Original