Doorstep delivery tracking
L3–L5
Level range
8
Sprints
39
Tasks
Backend and frontend
Built as
What you’ll build
Live parcel tracking for a small delivery firm. Customers watch the rider bringing their parcel move across a map without refreshing the page. When the rider's phone loses signal and then catches up, the pin never jumps backwards. The app notices when the rider has arrived without anyone pressing a button, and a photo of the doorstep appears on the customer's page. Nobody can watch another customer's rider, or their own rider once the parcel is delivered.
A skill in every sprint
You show you have it in a pull request your team reviews, then explain it in a walkthrough.
Authentication
You can register and sign in a user, keep a request authenticated without asking for the password again, and explain where the credential lives in the browser and why there rather than somewhere else.
Assigning jobs to drivers
You can assign a job to a driver, prevent the same job being assigned twice, and show a driver only their own work.
Tracking a delivery
You can record location updates against a shipment and show a customer its current state and history without them refreshing.
Realtime updates
You can push a change from the server to an open page and have a second browser see it — and say what happens to a client that was disconnected while it changed.
Proof of delivery
You can capture proof at the point of delivery, store it against the shipment, and produce it later in a dispute.
Going live
Somebody who has never met you can open a URL and use the product — and you can say what is different about the copy running there, where its secrets come from, and what you do when a release turns out to be wrong.
8 sprints, 39 tasks
Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.
- Sprint 01
Signing on for a shift
A customer can create an account, the firm creates rider accounts nobody can make for themselves, a rider's phone stays signed in for a whole shift, and the depot can sign a lost phone out within a minute.
4 tasks
- Let customers register and come back to the same account
- Keep a rider signed in for a whole shift
- Create rider and depot accounts that nobody can give themselves
- Let the depot sign out a rider's phone from another device
- Sprint 02
A parcel with a name on it
A parcel belongs to one customer and exactly one rider, even when two dispatchers assign it at the same moment, and the rider sees their round in driving order.
5 tasks
- Let dispatchers enter a parcel for a customer at an address
- Give each parcel to exactly one rider, even when two dispatchers try at once
- Show riders their own round in driving order
- Let riders start and finish each delivery
- Give customers a page for each parcel that says where it is up to
- Sprint 03
A phone that says where it is
A rider's phone reports where it is during each delivery, every position is kept with the time it was taken, and the app uses no more battery, mobile data or storage than it needs.
5 tasks
- Report the rider's position while a delivery is on its way
- Choose how often the phone reports, and write down the numbers behind it
- Report less often while the rider is standing still
- Stop reporting and refuse positions when no delivery is on its way
- Thin a finished delivery's positions to the route that matters
- Sprint 04
Watching it move
A customer whose parcel is on its way watches the rider move on a map with nobody pressing refresh, and a screen that was locked comes back to where the rider is now.
5 tasks
- Let customers watch the rider move on a map without refreshing
- Limit how often each watching screen is updated
- Bring a screen that was locked back to where the rider is now
- Move the pin smoothly between positions
- Tell customers whose parcel is not on its way yet what happens next
- Sprint 05
Four minutes in a tunnel
A phone that had no mobile data for four minutes sends its saved positions when signal returns, the route comes out in the order it was driven, and the pin never moves backwards.
5 tasks
- Save positions on the phone while it has no signal and send them later
- Put the route in the order it was driven, whatever order positions arrive in
- Make sure a late position never moves the pin backwards
- Store a position that arrives twice only once
- Show customers and the depot when a rider's phone has gone quiet
- Sprint 06
At the door
The app works out that the rider has arrived from where they are, not from a button, and a photo taken at a doorstep with no signal still reaches the customer, with a delivery time that can be trusted.
5 tasks
- Work out that the rider has arrived without anyone pressing a button
- Let riders say they have arrived when the app has not noticed
- Let riders photograph the doorstep and complete delivery with no signal
- Show the depot which deliveries have no photo yet
- Show customers the doorstep photo and a delivery time that has been checked
- Sprint 07
Who may watch, and for how long
A customer can watch only the rider bringing their own parcel, and only while it is on its way, the server enforces this on every route, and old routes are deleted on a schedule.
5 tasks
- Decide in one place who may see a delivery's positions
- Make each customer's live connection carry only their own rider
- Close the live map the moment the parcel is delivered
- Let riders mark a parcel as not delivered, or end their shift, and close the map
- Delete old routes on a schedule and write down how long they are kept
- Sprint 08
Out on real roads
The app is live on the internet at its own address, a customer connected to one server sees a rider reporting to another, and connections survive lost signal and new releases.
5 tasks
- Put the app online so a rider and a customer can use it from two networks
- Move every setting and secret off your laptop and into the server's settings
- Pass positions between servers so every watcher sees their rider
- Reconnect riders and customers by themselves after signal drops
- Release a new version during a round with only a short pause
Read before you build
Senior engineers read the docs before they touch the code. Every Blueprint comes with short documents on the product and its world, the kind a team hands a new hire. Read them well and you ask sharper questions and walk into every review prepared.
What you are building
The product, the three kinds of people who use it, and the three parts that make it harder than a pin on a map.
A position is a fact with a time on it
What a phone really knows about where it is, why every position has two times, and how much a shift of positions weighs.
More logistics Blueprints
Tool and asset checkout
A tool store for a small builder's yard. Every drill, ladder and transformer is a single item with its own tag. The store can say who has each one and since when, and shows on one screen what has not come back, before someone needs it.
Returns handling
The returns desk behind a small online shop. A customer asks to send something back and says why, and the warehouse answers. A parcel arrives that may not match what was promised. Someone decides what happens to the goods and to the money, so that neither ends up in the wrong place.
Fleet maintenance log
A servicing log for a small fleet of vans. Every van's history is in one place. The next service is worked out from how much that van is really being driven. The front page shows what is due soon and what is already overdue.
Not the one for you?
Every Blueprint is planned the same way, across health, shopping, money, education and more.
Browse all BlueprintsBuild doorstep delivery tracking.
Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.
Start today, for free