Build the heart of an exchange: a limit order book with price-time priority, partial fills and O(1) cancels, then market orders, immediate-or-cancel and order amendments.
Limit order book
Resting bids and asks, matching by price then time, partial fills, cancels and market depth.
Order types and amendments
Market and immediate-or-cancel orders that never rest, and quantity changes with the right priority rules.
Self-trade prevention
Orders from the same trader must never trade with each other.
What hiring managers look for in a developer portfolio, which kinds of projects show it, and how to present them: README, tests, design notes and a clean history.
Name the rules your data must always obey, enforce them in one place, validate everything before changing anything, keep history append-only, and test invariants with random operations.