How angreenpro/zero-trust-microsegmentation-ecomweb works
This is a Zero Trust micro-segmentation demo built around an online-store workflow: customers browse products, authenticate for a JWT, and submit orders with wallet-based payment; they can also view orders and payment receipts. The principal services and their database operations are visible in the sampled source. The README documents an Nginx PEP gateway and network isolation, but its configuration and the frontend interactions were not sampled, so those links are shown only where documented or left unverified.
Main entry points: nginx.conf PEP gateway · init.sql MySQL data · auth-service/main.py Identity and JWT · catalog-service/main.py Product catalog
Components 7
User interface
- PEP gateway
nginx-gateway/nginx.conf - Store website
web/index.html
Application services
- Identity and JWT
auth-service/main.py - Product catalog
catalog-service/main.py - Orders and payments
order-service/main.py
Persistent data
- MySQL data
mysql-db/init.sql
Other components
- Customer
Connections 8
- Customer → PEP gateway: visits store
README.md - PEP gateway → Store website: serves UI
- PEP gateway → Identity and JWT: routes requests
- PEP gateway → Product catalog: routes requests
- PEP gateway → Orders and payments: routes requests
- Identity and JWT → MySQL data: reads users
auth-service/main.py - Product catalog → MySQL data: reads products
catalog-service/main.py - Orders and payments → MySQL data: reads and writes
order-service/main.py