Blueprint · Commerce

Second-hand marketplace

A place to sell the things you no longer want. Sellers list them with photos. Buyers ask about them in a private thread attached to the item. Once an item is sold, it stops showing, so nobody else wastes time on it. Both sides are members of the public, either of them can behave badly, and the app is the only thing between them.

L2–L4

Level range

8

Sprints

40

Tasks

Backend and frontend

Built as

By the last sprint

What you’ll build

A place to sell things you no longer want. Sellers list items with photos. Buyers find them, ask questions in a thread only those two can read, and hear about replies without watching the page. Sold items disappear for everybody, and anything reported is taken down.

What you’ll learn

A skill in every sprint

You show you have it in a pull request your team reviews, then explain it in a walkthrough.

01

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.

02

File uploads

You can upload a file from the browser, store it somewhere the application does not own, and show it again on a later request — and say where the bytes travelled and what the database actually holds.

03

Search and filtering

You can search a list by keyword, combine that with filters, and say what the database does to answer the query — including which part uses an index and which part cannot.

04

Comments and replies

You can store threaded comments, render a thread without a query per comment, and handle a comment deleted with replies under it.

05

Notifications people do not mute

You can notify a user when an event concerns them, show an unread count that survives a refresh, and honour a preference that says stop.

06

An order that moves through states

You can move an order through its states, refuse a transition that should not happen, and show the history of how it got where it is.

07

Moderating what gets published

You can hold content for review, let a moderator approve or reject it, and show the author what state theirs is in.

08

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, 40 tasks

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

  1. Sprint 01

    Who you are dealing with

    A person can create an account, come back to it, and have a public profile a stranger can check before dealing with them.

    5 tasks
    1. Let a visitor create an account and land signed in
    2. Keep people signed in, and let them sign out of a shared laptop
    3. Give every account a public profile a stranger can check
    4. Slow down people who guess passwords, without locking out the owner
    5. Add moderator accounts that nobody can create for themselves
  2. Sprint 02

    Something to sell

    A person can list an item for sale with photos of it, and take it down again.

    5 tasks
    1. Let a seller list one item for sale
    2. Let sellers add photos from their phone to a listing
    3. Refuse files that are not real photos, and make the real ones safe
    4. Show sellers all their own listings, and stop anybody else editing them
    5. Let a seller take a listing down and put it back up
  3. Sprint 03

    Finding it

    A person can find somebody else's item among everything else that is for sale.

    5 tasks
    1. Show everything for sale on one list, newest first
    2. Let buyers search listings by the words sellers used
    3. Let buyers filter by price, condition, category and distance
    4. Make page two never repeat or skip listings from page one
    5. Show a helpful page when nothing matches
  4. Sprint 04

    Asking about it

    A buyer can ask the seller about one item, in a thread only the two of them can read.

    5 tasks
    1. Let a buyer message the seller about a listing
    2. Show the item at the top of every conversation
    3. Give each person one inbox for buying and selling
    4. Let only the buyer and seller read their conversation
    5. Keep conversations readable when their listing is taken down
  5. Sprint 05

    Telling the other person

    The other person finds out a message is waiting without watching the page, and can choose to stop the emails.

    5 tasks
    1. Email people when a new message arrives for them
    2. Show one unread count that is the same on every device
    3. Let people turn off emails, including from the email itself
    4. Make notifications explain themselves when their subject has gone
    5. Show both sides when a question is still waiting for a reply
  6. Sprint 06

    Sold

    A seller marks an item sold, it stops showing to everybody, and it can only ever go to one buyer.

    5 tasks
    1. Let a seller mark an item sold so it stops showing
    2. Let a seller put an item on hold for one buyer
    3. Tell the other buyers in their own conversations when an item sells
    4. Make sure an item can only be held or sold for one buyer
    5. Stop a sold item from being changed back, and keep its history
  7. Sprint 07

    Behaving badly

    Anybody can report a listing, a message or a person, and what a moderator agrees should go is taken down.

    5 tasks
    1. Let people report a listing, a message or a person
    2. Give moderators a queue of reports they can work through
    3. Remove a reported listing everywhere, including shared links and photos
    4. Let moderators ban an account and take down everything it listed
    5. Warn people that deals moved outside the app cannot be reported
  8. Sprint 08

    In front of strangers

    The app is on the internet at its own address, and a release that turns out to be wrong can be undone while people are in the middle of a deal.

    5 tasks
    1. Put the app online so strangers can use it without you
    2. Store photos so they survive every deploy
    3. Move every setting and secret out of the code and into the environment
    4. Send real emails that reach the inbox, from the app's own address
    5. Make a bad release easy to undo, even on a Saturday
The reading

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 two strangers who use it, and the four parts that make it hard.

How a second-hand sale actually works

How a second-hand sale works from the seller's side: why listings go out of date, why sellers do not answer, and what trust is made of when neither side has any power.

More commerce Blueprints

More to build

Not the one for you?

Every Blueprint is planned the same way, across health, shopping, money, education and more.

Browse all Blueprints
Ready?

Build second-hand marketplace.

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

Start today, for free