All BlueprintsCommerce

Subscription box

A monthly box, billed on a cycle: customers pick a plan, see the day the next charge lands, and skip, pause, switch or stop it themselves. The shop sees who is due, what to pack, and who it is still chasing.

L2–L4Level range
8Sprints
42Tasks
Backend and frontendBuilt as

What you’ll build.

By the last sprint

A subscription with real billing. Customers pick a plan, see the next charge date, skip or pause a month, switch plans halfway through and pay the exact difference, and cancel on a date the site names. A card that fails is retried on a schedule and then given up on. The shop sees who is due and what to pack.

What you’ll learn.

Each sprint is built around one skill. 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.

Charging the same card monthly

You can start a subscription, produce the next charge on time exactly once, and show what happens between a failed renewal and a cancelled subscription.

Roles and permissions

You can give users different roles and have the server refuse what a role may not do — not merely hide the button — and show the refusal working against a request the interface never offered.

Background jobs

You can hand work to a worker, tell the user it is in progress, and show the result when it lands — and say what happens to that work if the process dies halfway.

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.

The roadmap. 8 sprints, 42 tasks.

Every sprint has a goal and a set of tasks. Open a sprint to see the tasks you will pick up.

Sprint 01

An account to bill

Somebody can make an account, come back to it tomorrow, and sign out of it properly.

4 tasks
  1. Somebody can sign up and land inside
  2. Coming back tomorrow does not mean signing in again
  3. Signing out means signed out
  4. An account with no subscription says what to do next
Sprint 02

The cycle

A customer picks a plan, is charged once, and knows the day the next charge lands.

6 tasks
  1. The shop writes down what it sells
  2. Paying without a real card
  3. Picking a plan charges once and names the next date
  4. A billing day that can be run for any date
  5. The same billing day, run twice, bills once
  6. A customer can see what they have paid and what is next
Sprint 03

Two sides of the counter

The shop sees who is due and what to pack. A customer sees only their own subscription, because the product refuses rather than hides.

5 tasks
  1. The shop has staff accounts, and nobody can issue themselves one
  2. The shop sees who is due and what to pack
  3. A customer sees only their own subscription
  4. Asking directly for somebody else's subscription is refused
  5. The shop can start a subscription for somebody who rang up
Sprint 04

Changing your mind

A customer can skip a month, pause, or stop, and the product names the day each one takes effect.

5 tasks
  1. A customer can skip the next box
  2. Skipping has a deadline, and the product says what it is
  3. A pause names the day it comes back
  4. Stopping takes effect at the end of what has been paid for
  5. Changing their mind about stopping costs nothing
Sprint 05

Halfway through the month

A plan change in the middle of a period costs the right amount, to the penny, and does not move the day of the month.

5 tasks
  1. A customer is told what a switch costs before they confirm
  2. Switching up mid-period charges only for the days that are left
  3. Switching down leaves a credit that the next charge spends
  4. The day of the month does not move when the plan does
  5. Switching twice in one period does not charge twice for the same days
Sprint 06

The card says no

A failed charge is chased on a schedule the shop chose, then let go, and nobody is cut off by surprise.

6 tasks
  1. A declined charge does not end the subscription
  2. The charge is retried on days the shop chose
  3. The customer is told in time to do something about it
  4. A new card is charged straight away
  5. After the last attempt, it stops, and both sides can see why
  6. The shop can see everybody it is chasing
Sprint 07

Work that runs itself

The billing day happens on its own, at the right hour, and never charges anybody twice.

5 tasks
  1. The billing day happens without anybody pressing anything
  2. A run that dies halfway does not charge anybody twice
  3. A failure is visible without a customer reporting it
  4. The run uses today's facts, not the ones it was scheduled with
  5. Messages that the run sends go out once
Sprint 08

Open for business

The shop is on the internet at its own address, billing real dates on its own, with nobody's laptop involved.

6 tasks
  1. A stranger can reach it without you
  2. Nothing it needs lives only on your laptop
  3. The billing day runs there, in the shop's own time
  4. The messages genuinely leave
  5. An address worth giving out
  6. A bad release can be undone before the next billing day

Read before you build. The best engineers do.

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, who it is for, and what finished means.

How a billing cycle actually works

Domain you will not have: anchor days, periods, what a skip moves, and why churn is a date problem before it is a price problem.

Build subscription box.

Start your free week. Adaeze runs your kickoff, and Lars reviews every pull request.