Back to All Works
Multi-Role PlatformFeatured Project
SirajTech
Multi-Role E-Commerce & Design Platform

3 Roles (RBAC)
RBAC Roles
TanStack Query
State Engine
Edge Middleware
Security
PROJECT CASE STUDY & OVERVIEW
SirajTech is an enterprise e-commerce platform designed for multi-tier user accounts (Customer, Affiliate, Wholesaler). Utilizes Next.js Edge Middleware for secure role-based access control, TanStack Query for server-state management, and Zod validation for robust checkout workflows.
Technical Challenges & Architectural Solutions
Implemented high-speed RBAC routing on the Vercel Edge Runtime to prevent unauthorized role access before page rendering.
CORE FUNCTIONALITIES & FEATURES
Next.js Edge Middleware role-based access control (RBAC)
Multi-tier accounts for Customers, Affiliates, and Wholesalers
TanStack Query optimized server-state management & cache invalidation
Strict Zod schema validations for checkout forms
TECHNOLOGY STACK BREAKDOWN
Frontend
Next.js App RouterTypeScriptTailwind CSSZod
State & Security
Edge MiddlewareTanStack Query
