Skip to content
GET /projects

05 · Full-stack · Spring Boot + React

TradeLicense

A business licensing workflow where customers apply, reviewers inspect, approvers issue, and anyone can verify a license by ID.

Role
Solo · domain model, API, frontend
Timeline
2026
role workspaces
4
workflow states
8
tradelicense.app
Customer workspace with metrics and issued licenses
Customer workspace with metrics and issued licenses
tradelicense.app
Reviewer queue inspecting uploaded documents
Reviewer queue inspecting uploaded documents
tradelicense.app
Public license verification certificate
Public license verification certificate

The problem

A trade license usually means paper forms, a queue at the office and no visibility into where a file is. It also needs real separation of duties: the person who checks the documents shouldn't be the one who issues the license.

The solution

A domain-driven Spring Boot API (aggregates, value objects, domain events, command and query handlers behind repository ports) with a React + RTK Query client that gives each role its own workspace. Every transition is audited, and issued licenses can be checked on a public page.

Architecture

RTK Query/api · Bearer tokenReact SPAnginxSpring Boot APIJPA / H2

Engineering highlights

  1. 01

    Two-stage approval

    Reviewers accept, reject or return applications for adjustment. Approvers issue or send them back for re-review. The aggregate's state machine rejects any out-of-order step.

  2. 02

    Document inspection

    Uploads and bank slips are stored per application and previewed inline. Ownership checks keep each customer to their own files.

  3. 03

    Audit timeline

    Every action is recorded with actor, status and comment, and rendered as a timeline on each application.

  4. 04

    Public verification

    A shareable certificate view shows holder, type, commodity and validity for any license ID, with no sign-in needed.

Technologies

  • Java 17
  • Spring Boot 4
  • Spring Security
  • JPA
  • React 18
  • TypeScript
  • Redux Toolkit
  • Vite
  • Docker
  • GitHub Actions
next case fileEvergreen Medical Spa