Zembil E-Commerce
Modern Multi-Gateway Digital Marketplace

The Problem Space
Many Ethiopian and regional commerce platforms suffer from brittle checkout architectures, sluggish mobile loading, and lack of integration with international payment rails (Stripe, PayPal) alongside regional currencies.
Technologies & Tools
Architectural Highlights
- Prisma schema with indexing on high-traffic category and search fields
- Secure cookie sessions and role-based permissions for merchant admins
- Accessible, high-contrast product gallery and checkout modals
Key Architectural Decisions
Idempotent Webhook Processing Architecture
Implemented cryptographic webhook verification with database-level idempotency keys to ensure zero double-charging or missed order state dispatches even during network interruptions.
Hybrid Server Components & Client Cart State
Rendered product catalogs statically via React Server Components with incremental cache revalidation, while isolating cart and checkout mutations to lightweight client islands.
Challenges Faced
Utilized PostgreSQL row-level locks within Prisma transactional blocks (`tx.$executeRaw`) during checkout validation to prevent overselling limited-stock products.