CHAND.

CHAND.
Back to All Projects
Full StackRole: Full-Stack & DevOps EngineerProduction Deployed

Chinar Fragrances

Production E-Commerce Platform & Full Inventory Engine

Chinar Fragrances Architectural Showcase

Ubuntu VPS + Nginx

Infrastructure

Prisma + PostgreSQL

ORM & DB

PM2 Cluster

Process Manager

PayFast Integrated

Gateway

System Narrative

Engineering Context & Problem Scope

Chinar Fragrances is a production-grade commercial e-commerce platform custom engineered for a luxury fragrance brand. Going beyond traditional hosted store builders, Chand engineered a tailored web system utilizing Next.js, Node.js, Prisma ORM, and PostgreSQL. The system includes an administrative suite controlling product catalog hierarchies, dynamic scent notes, stock thresholds, discount coupon engines, and dispatch logistics. Chand configured the entire hosting stack on an Ubuntu VPS, orchestrating Nginx reverse proxying, PM2 clustering for zero-downtime reloads, and rigorous technical SEO.

Key Business & Engineering Outcomes

  • Fully operating commercial business running on robust self-hosted infrastructure.
  • Direct monetary transaction processing via PayFast integration.

Integrated Technologies

Next.jsNode.jsPostgreSQLPrisma ORMUbuntu VPSNginxPM2PayFastSSL / CertbotTechnical SEO

Architecture Blueprint

Full-Stack System Layers

Architected for high throughput, data consistency, and robust fault-tolerance.

Frontend Layer

  • Next.js (App Router)
  • Tailwind CSS
  • Responsive Dark/Luxury UI
  • SSR / ISR

Backend & APIs

  • Node.js API Routes
  • Prisma Client
  • PayFast Payment Processing
  • Auth & Session Guard

Data & Persistence

  • PostgreSQL
  • Relational Inventory Schema
  • Prisma Migrations
  • ACID Transactions

Cloud & Infrastructure

  • Ubuntu VPS
  • Nginx Reverse Proxy
  • PM2 Process Clustering
  • Let's Encrypt SSL

Capabilities & Features

Core System Features

Key architectural capabilities and modular components engineered for this platform.

Inventory Core

Bespoke Inventory & SKU Tracking

Multi-variant perfume inventory management tracking volumes (50ml, 100ml), batch identifiers, and stock depletion alerts.

Fintech

PayFast Payment Gateway Integration

Secure regional payment gateway handling debit/credit cards, mobile wallets, and instant merchant IPN settlement callbacks.

Admin Suite

Comprehensive Admin Portal

Centralized dashboard for revenue analytics, customer lookup, order fulfilment status tracking, and promotional campaign creation.

DevOps

Production VPS Deployment & Nginx

Engineered with Nginx reverse proxy, automated SSL renewal, gzip compression, and PM2 process monitoring on Ubuntu Linux.

Deep Dive Case Study

Engineering Challenges & Solutions

Complex technical bottlenecks encountered during development and how they were systematically resolved.

Challenge #1

High-Availability Self-Hosted Deployment

Problem / Bottleneck

Maintaining uninterrupted site uptime and resilience against traffic surges without relying on costly serverless cold-start tiers.

Engineering Solution

Configured an Ubuntu VPS with PM2 cluster mode matching CPU cores, layered with Nginx caching buffers and automated systemd watchers.

Measured Outcome

Sub-150ms server response times across all catalog routes and uninterrupted 99.9% uptime in production.

Challenge #2

Catalog SEO & Metadata Generation

Problem / Bottleneck

Ensuring every perfume item, category, and seasonal bundle ranks in competitive regional organic search queries.

Engineering Solution

Constructed automated OpenGraph, Schema.org Product microdata, and dynamic sitemap generation within Next.js Server Components.

Measured Outcome

Significant surge in organic search discoverability and fast search engine indexing for newly added fragrance collections.

Interested in Building a Similar System?

Let's discuss architecture blueprints, tech stack selection, and production deployment tailored for your requirements.