Steve.Architect
ArtisanBase - Headless E-Commerce

ArtisanBase - Headless E-Commerce

A scalable e-commerce solution with a NestJS backend and distinct Next.js frontends for admins and storefronts.

NestJSNext.jsTypeScriptPrismaSupabase

Architectural Overview

Artisan Base represents a modern 'Headless' e-commerce approach. Instead of a monolith, I decoupled the backend (NestJS) from the frontend (Next.js), allowing for independent scaling. Key architectural decisions included using Redis for caching high-frequency product reads and implementing a Rotating Refresh Token strategy for secure, long-lived user sessions.

Key Implementations

Headless Architecture (Decoupled Frontend/Backend)
Redis Caching for High-Performance Reads
Secure JWT Authentication with Rotation
Role-Based Access Control (RBAC)
Type-Safe Database Access with Prisma

System Screenshots

Gallery 0
Gallery 1
Tech Stack

Frontend

Next.jsTypeScriptTailwind CSSReact Query

Backend

NestJSTypeScriptPrisma

Database

PostgreSQL (Supabase)Redis

DevOps

VercelRailway
Steve Arnold Otieno | Full Stack Engineer