WK.
← All work

Released Android product · Early access

PoultryPoint

Building reliable operational software for poultry farmers.

Farm activity, stock and financial records are connected. I built PoultryPoint around that relationship, so that recording or correcting work does not leave the rest of the farm's records inconsistent.

My focus
Founder · Product and software engineering
Technology
Flutter · NestJS · Prisma · PostgreSQL
PoultryPoint active farmer dashboard
Explore the interface →
Source-based reproduction of the active-farmer Home, with demonstration data. Original application artwork; browser capture, not a native Android screenshot.

The engineering problem

In a farm, a single expense can belong to the farm as a whole or to particular flocks. Using stock also has a financial impact: two purchases of the same item may have different costs. A correction must account for both the original quantity and its actual cost, not just change what appears on the screen.

My focus was to make those relationships explicit rather than infer them from the current state of the farm.

Designing for consistent records

Explicit allocation

The expense workflow distinguishes farm-wide costs from flock-level costs. Direct expenses use integer minor currency units; consumable quantities use decimal arithmetic. The backend rejects duplicate flock targets and allocations that do not match the submitted total.

Inventory valuation

Stock is consumed from the oldest eligible lots first (FIFO). The service accounts for stock and usage units, guards against insufficient quantity and records each deduction against its source lot. Unknown historical costs are not treated as known zero costs.

Corrections and reversals

A correction relies on the original movement and cost lineage, not a fresh estimate from today's inventory. The compensation service restores the relevant lots and records offsetting entries. Where the original lineage cannot establish a safe reversal, the operation is rejected.

Record activityExplicit farm or flock allocation
Post stock and cost effectsFIFO lots and movement lineage
Correct or reverseCompensate the original effects
Simplified flow for an inventory-backed expense. Direct expenses do not create stock deductions.

This approach is more involved than overwriting totals, but it allows a correction to preserve the original accounting history. The design also makes missing or contradictory historical evidence an explicit failure rather than silently guessing.

How I validated the design

Focused database tests exercise the relationships that ordinary interface tests cannot prove: multi-flock allocation, farm-wide costs, exact lot restoration, replay, and atomic correction.

9/9Focused PostgreSQL scenarios
63/63Backend integration tests

These were separate local validation checkpoints recorded on November 26, 2026. The backend integration checkpoint covered unified expenses, receipts and the finance overview; its candidate was subsequently deployed to staging.

These are documented results, not a fresh independent rerun. Known pre-existing test failures remained recorded, and the focused rollback tests did not establish independent concurrent-transaction safety.

Shipping for real conditions

Distribution is part of the engineering problem. A large Android package can be a practical barrier on a constrained connection, so PoultryPoint's early-access distribution offers architecture-specific packages alongside the universal build.

Universal APK98.6 MB
ARM64 APK43.9 MB

For the published Build 14, the ARM64 package was 55.4% smaller than the universal APK. This is a file-size comparison, not a measured download-speed or adoption improvement. The release process records artifact hashes, signing and version information.

What I am still learning

Passing focused tests and publishing an application are important milestones, not proof that every workflow is safe under every condition. Independent concurrency tests, broader release acceptance and real-world feedback remain important. I use those gaps to guide the next development cycle.

The AI retrieval and workforce architecture investigations are explored separately.