Skip to content
Backend Notebook

Search

MiniWallet project

One e-wallet that grows with the roadmap. Each core post has a 30–45 minute hands-on lab; you write the core, an agent only handles scaffolding.

Read the introduction
Labs finished0/32 labs
  1. 1

    Write it

    Type the core yourself before asking an agent.

  2. 2

    Run it

    See the output the lab shows.

  3. 3

    Break it

    Make it wrong on purpose and watch it fail.

  4. 4

    Explain it

    Two minutes out loud, without the code.

  5. 5

    Get grilled

    Paste the three questions to an agent.

  1. Phase 0

    Plain Java, no framework

    Money, accounts and an in-memory transfer

    Java 21 · JUnit 5

  2. Phase 1

    One Spring Boot service

    Open account, transfer and history APIs with correct transactions and locking

    Spring MVC · JPA · PostgreSQL · Flyway

  3. Phase 2

    Make it reliable

    Retries never move money twice; the cache never serves a stale balance

    Idempotency-Key · Outbox · Redis · Rate limit

  4. Phase 3

    Split into services

    Top-up through a fake gateway, late or duplicate IPN, saga

    payment-service · notification-service · Kafka

  5. Phase 4

    Gateway and realtime

    JWT and rate limiting at the edge; push balance updates to the browser

    Spring Cloud Gateway · WebFlux · SSE

  6. Phase 5

    Operate

    Run the whole system, observe it and load-test it

    Docker Compose · CI · Tracing · k6