Last-mile Delivery Platform — how the project grew
How I built and run a home-delivery platform: moving data off the old platform, a thousand orders a month, Google growth, three warehouses, an outage.
TL;DR
Last-mile Delivery Platform is a home-delivery service for a local store: a website with a catalogue and checkout, Telegram apps for dispatchers and drivers, an admin panel and customer notifications. I started it on 4 January 2026, it took its first order on 25 January, and since then I have built and run it alone, with AI agents as assistants. Between 25 January and 18 October it delivered 5,834 orders worth $660k. In September there were 1,035 orders worth $124.9k, Google sent 1,985 visits against 77 in January, and four orders out of five came from people who had ordered before.
How it started
Before me the store ran on a platform built by another contractor, which delivered 24 orders in December 2025. I started writing my own platform on 4 January 2026, and it took its first order on 25 January, three weeks later. By that day it had a storefront with cart and checkout, delivery zones, an admin panel for orders, products, stock, customers and drivers, and Telegram bots and mini apps for dispatchers and drivers.
The platform has no separate mobile apps. Staff work in Telegram: everyone already has an account there, notifications arrive as ordinary messages, and a new version reaches everyone with the next deploy, with no app store review in between.
Moving off the previous platform
The previous vendor did not want to hand the project over, because the support fees would go with it. So I took the store's data myself, through the API of its admin panel. A collector copied it into my database once an hour, and the move happened in parts, with a backup before every step. The old platform took its last order on 24 January, and from the 25th orders were coming into the new one. Customers never noticed the move: same website address, same passwords and order history. How it worked is described on a separate page.
How I work
I am the only developer on the project. I write code together with AI agents: Claude Code drafts changes and tests, and Codex separately reviews the plans for larger changes and the code itself. Architecture, the data model, schema changes on the live database, deciding what ships and when, and responsibility for keeping the store running all stay with me.
In the 288 days since the first commit there have been 1,689 commits, with work happening on 232 of those days.
How does one person keep up this pace?
The agents take the routine work, and my time goes into decisions and review. Every change runs through automated tests; the API alone has 4,037 of them. A larger change starts as a written plan, a second agent reviews the plan, and only then does the code get written. On the store's side the owner and staff take part: they set tasks and are the first to try new features on real orders.
Month by month
The figures were taken on 19 October 2026 from the order database and Google Search Console. Only delivered orders are counted, revenue is their total, and customers means distinct people who received an order that month.
| 2026 | Orders | Revenue | Customers | Clicks from Google | Impressions in Google |
|---|---|---|---|---|---|
| January¹ | 66 | $9,331 | 43 | 77 | 901 |
| February | 148 | $17,194 | 97 | 163 | 1,672 |
| March | 295 | $30,275 | 173 | 413 | 5,823 |
| April | 406 | $41,254 | 223 | 622 | 8,044 |
| May | 628 | $63,043 | 312 | 1,100 | 24,907 |
| June | 740 | $79,460 | 364 | 1,947 | 53,424 |
| July | 933 | $108,897 | 429 | 1,492 | 30,356 |
| August | 917 | $106,477 | 427 | 1,516 | 32,331 |
| September | 1,035 | $124,937 | 506 | 1,985 | 57,616 |
| October 1–18² | 706 | $85,205 | 446 | 951 | 18,462 |
¹ January includes the old platform's orders moved into the new database; my platform has been taking orders since 25 January. ² Google data for October runs to the 16th, because Search Console reports with a delay.
The busiest day so far was 17 October, with 55 deliveries. Since March the average order has stayed between $100 and $121.
Over the whole period 1,479 people have received an order. 716 of them ordered more than once, 326 five times or more, and 160 ten times or more. Customers who came back at least once account for 87% of all delivered orders.
How the site grew in Google
In January the site got 77 clicks from search. For queries that did not include the store's name, meaning people looking for the service itself, there were 13 clicks at an average position of 49. In September there were 703 such clicks at an average position of 11, plus 582 clicks from searches for the store's name. Search Console does not break about a third of all clicks down by query, so these two numbers add up to less than 1,985.
What I did, by date:
- 28 January: sitemap, meta tags, structured data for the store, products and articles.
- 7 February: an articles section with the first 20 pieces.
- 17 February: the site's second and third languages.
- 23 February: speed work: compressed images, no layout shift while loading, page caching.
- 9 April: an audit of redirects, titles and markup, plus text that AI search engines can quote easily.
- 29 May: a sitemap generated straight from the database, including products taken off sale. Their pages keep loading, so Google does not drop their rankings. 104 duplicate product URLs were merged into canonical ones, and the FAQ, articles and delivery-area pages were translated into all three languages.
- July: I rewrote some articles and answers based on Search Console data, cutting pages that did not answer their query and retargeting the ones that collected impressions for the wrong queries.
In the 90 days to 16 October, Google showed 798 pages of the site in three languages.
What actually worked
At the end of May impressions went from 830 to 2,748 a day within two days and never returned to the old level. The 29 May changes landed on exactly those days, but the rise began a day before the deploy, so I cannot separate the effect of my work from a recalculation on Google's side.
Over the summer impressions fell by 40% and the average position slipped from 10 to 17–18. August barely moved after the July rewrite. In September impressions came back and set a new record of 57.6k for the month, with the average position at 10 again. The link is even weaker here, so I record it as a fact and take no credit for it.
According to the customers themselves, Google is the store's second-largest source. Of 1,342 people who answered "how did you hear about us", 49% named friends, 21% Google and 13% social media.
Three warehouses, one network
In August the store's warehouses started working as one network. The main warehouse owns the catalogue and prices, and the other two get their stock from it. A customer sees stock for the warehouse that serves their address, and the order goes to that same warehouse. The rule for which warehouse serves an address lives in a separate package that both the server and the website use, so the storefront cannot show one warehouse's stock while the server books the order to another.
If a warehouse closes for a day, a staff member presses one button and that zone's orders go to a neighbouring warehouse for the day. In October the median express delivery took 67 minutes from checkout to the door.
Two more sales channels run through the same API besides the website: a shop inside Telegram, where the catalogue and checkout open right in the messenger (162 delivered orders), and two storefronts under other brands (79). The customer support chatbot in the messenger also talks to the platform through the API. It sees the customer's orders, and since late September it can change an order's address, delivery time or items on its own.
What the customer, the driver and the dispatcher see
After checkout the customer sees the order status, the driver on a map and an estimated arrival time. Messages about confirmation, the driver setting off and cancellation go to WhatsApp, or by SMS if the number is not on WhatsApp. The driver and the customer call each other through a masked number and never see each other's real numbers. Orders earn cashback into an in-app wallet, and inviting friends earns a referral bonus.
Drivers work in a Telegram mini app: they see their orders and addresses, message the customer and mark each step of the delivery. They share their location through Telegram itself. A background browser tab on a phone goes to sleep, while Telegram's live location keeps sending a point every few seconds.
Dispatchers see their warehouse's orders and assign drivers, and the dispatcher on duty gets a loud alert on their phone for every new order.
How all of this fits together is shown in the platform diagram.
The evening the main server disappeared
On 12 October the main server stopped responding. The hosting provider had lost the physical machine the server ran on, while its control panel kept showing that everything was fine. The old server had taken its last order about six minutes before it went silent.
Two weeks earlier I had set up a standby server. The database was copied to it continuously, and settings and files on a schedule. The switch took 52 minutes. First I had to make sure the old server could not come back halfway through and start taking orders alongside the new one. Then I brought the services up on the standby and moved the domains to it. Everything the old server had written was already on the standby: the last transaction reached the replica seconds before the connection dropped.
Two days later the old server came back to life. It checked which server was primary now, saw that it was not, and left its services stopped. Comparing the last records showed there was nothing to reconcile. The new primary had its own standby by the end of the day of the outage.
What these months taught me
Data first, then the rule
In October the dispatcher's map started showing one driver's car jumping to the warehouse every now and then. I matched that driver's location points against the server's request log and found the source: a tablet at the warehouse, signed into Telegram with the same account, was sending the warehouse's coordinates every 30 seconds. Before shipping a filter I ran it on three days of real points. It dropped 1,480 false points and let through 39 questionable ones, from minutes when the live location from the driver's phone had been silent for more than three minutes.
The same people in two roles
The platform had separate apps for dispatchers and drivers until the data showed that at the warehouses they are the same people: they assign between 80 and 98% of orders to themselves. Customer questions were reaching them in two different places. In October I brought those questions into one feed in the shared app, and I am moving everyone over to it.
What the platform does not do
- There are no App Store or Google Play apps. Customers order on the website and in Telegram, and staff work in Telegram.
- It does not bring in third-party couriers. The store's own drivers deliver.
- It does not plan a route across several addresses. The driver chooses the order of stops.