Sheet indexIndex Sheet 02 / 10 ← previousnext → TR / EN

Sheet 02 / 10

MARKASIUM

Multi-vendor food ordering platform that runs on subscriptions instead of commissions. It consists of a customer storefront, a restaurant panel and a single API that serves both.

Subject
Backend
Platform
Web
Source
Private repo
Date
2026
Status
In development

Markasium is a multi-vendor food ordering platform where restaurants pay a monthly subscription instead of a per-order commission. The customer site, restaurant panel, courier app, admin and founder panels all talk to one Spring Boot API. Authentication uses 15-minute ES256 JWTs signed by the API itself; refresh tokens are single-use in Redis and each panel reads its own cookie. Payments are taken on Iyzico's hosted page, so card data never reaches Markasium; the return is verified by asking Iyzico. Orders, menus and subscriptions live in MariaDB, and the services run on Docker. The notes cover verifying the Iyzico return, moving from Keycloak to self-issued JWTs, and the single-session design.

01ViewsBuilt from current source · sample data

Markasium customer site: restaurants by location and cuisine categories
ACustomer web · home
Restaurant page: rating, delivery time and a categorised menu
BCustomer web · restaurant page
Cart and checkout: items, delivery address, payment method, order summary
CCustomer web · cart and checkout
Restaurant panel order board by status: new, preparing, on the way
DRestaurant panel · orders
Restaurant panel menu management: categories, items, edit, hide, delete
ERestaurant panel · menu
Restaurant panel revenue, order summary and daily revenue
FRestaurant panel · statistics

02Schema and notes

DOCKER NETWORK CUSTOMER WEB:3000 RESTAURANT PANEL:3001 APISpring Boot · :8080 MARIADBorders · menus · plans REDISsessions · refresh tokens REVENUE MODEL · NO COMMISSION, SUBSCRIPTION
  1. Three services on one Docker network: customer web, restaurant panel, API.
  2. Business logic and the order engine live in the Spring Boot API.
  3. Authentication lives in the API: ES256-signed JWTs, refresh tokens in Redis. Keycloak was removed in 2026-10.
  4. Order, menu and subscription data in MariaDB.
  5. Revenue model: subscription, not commission.

03Parts list7 parts

ItemPartDescription
01Customer webRestaurant listing, ordering · :3000
02Restaurant panelOrder, menu and subscription management · :3001
03APIBusiness logic and order engine · :8080
04IdentityES256 JWT, role claims, HttpOnly cookies
05SessionsRedis: refresh tokens and single-session records
06DatabaseMariaDB
07DeploymentDocker Compose, single network

04Notes3 notes

NoNoteTopic
N1Verifying the Iyzico callbackVerifying the payment without trusting the callback; refunds for double payments, catching lost callbacks
N2From Keycloak to own JWTRemoving Keycloak and signing ES256 JWTs; why, decisions, the validation chain
N3Single session and refreshAtomic refresh rotation, one active session, a separate cookie per panel

—End of sheetdrawn by MUHAMMEDPYZ