INITIALIZING SYSTEM
BACK TO WORK

003 / SELECTED WORK

FOS ME

A scalable food ordering platform split into independent services for authentication, menu management, order processing, and delivery tracking behind a single API gateway.

Category
Microservices
Stack
Spring Boot, Next.js, API Gateway, MySQL, REST APIs
Repository
View Source →

Problem

A single monolithic ordering service becomes a bottleneck once auth, menu, ordering, and delivery each need independent scaling and release cycles.

Objective

Decompose the ordering system into services that can be developed, deployed, and scaled independently.

Architecture

Each service owns its own MySQL schema; the gateway is the single entry point the Next.js frontend talks to.

Technology

Spring BootNext.jsAPI GatewayMySQLREST APIs

Implementation

Four Spring Boot services — auth, menu, order, delivery — sit behind an API gateway that routes and authenticates requests. The Next.js frontend consumes the gateway exclusively, never talking to services directly.

Challenges

Coordinating an order that spans multiple services (menu lookup, order creation, delivery assignment) without a shared database — handled with synchronous REST calls orchestrated at the gateway/order-service layer.

Result

A working modular food ordering system where each service can be modified independently without redeploying the whole platform.

What I Learned

The operational cost of microservices — service discovery, inter-service auth, and coordinated deploys — versus the benefit of independent scaling.