Work About Team Blog Tutorials FAQ
Book a discovery call → Chat on WhatsApp

Home / Work / Pragya Vijh

Case Study · Headless Commerce & Spiritual Wellness

A unified headless ecosystem
for physical crystals & live Vedic consultations.

Pragya Vijh needed to merge physical healing crystal e-commerce with real-time astrologer consultations into a unified checkout. We architected a modular headless monorepo with Next.js 14, Medusa v2, and Strapi CMS.

Client / Founder

Pragya Vijh

Industry

Spiritual Wellness & Astrology

Architecture

Headless Monorepo (migrated from WordPress)

Key Stack

Next.js 14 · Medusa v2 · Strapi · Cal.com

Pragya Vijh Headless E-Commerce Platform engineered by Klickspell

Key Deliverables

Engineering performance that powers dual-revenue growth.

We replaced brittle WordPress plugins with custom event-driven TypeScript modules and a Next.js 14 App Router frontend. Booking a session, paying for it, getting the Google Meet link and the WhatsApp reminders now happen without anyone on Pragya's team doing it by hand.

0

Monolithic WordPress plugin dependencies

3

WhatsApp messages per booking: confirmation, then reminders 1 hour and 15 minutes before

1 unified

Checkout for retail + live consultations

First six months live (Apr – Oct 2026)

273

Paid orders since launch

₹1,082

Average order value

15%

Customers who came back to buy again

The Client & Brand Vision

Ancient Vedic wisdom meets modern digital craft.

Pragya Vijh is a luxury wellness and astrology brand led by spiritual guide and astrologer Master Pragya Vijh. The platform bridges ancient Vedic wisdom, gemstone energy healing, and modern psychology across a dual-revenue business model:

  • Physical Retail: Curated healing crystals, energized bracelets, combo sets, and sacred spiritual artifacts categorized by emotional/life intent (Love, Abundance, Health, Protection).
  • Spiritual Services & Consultations: 1-on-1 personalized sessions including Kundali readings, Tarot guidance, birth chart analysis, and energy healing sessions.

The Challenge

From WordPress plugin bloat to a fragile monolith.

The platform was originally built on WordPress & WooCommerce. As the brand grew, every new business requirement meant tacking on another plugin: an appointment booking plugin, third-party checkout extensions, invoice generators, SMTP mailers, multi-tier shipping calculators, and heavy visual page builders.

Before long, the site became sluggish and fragile:

Severe Plugin Bloat & Maintenance Drag: With dozens of third-party plugins competing for PHP execution and database queries, server response times suffered, plugin updates frequently broke checkout flows, and routine maintenance turned into high-risk firefighting.

Disjointed Consultation & Product Silos: The WordPress booking plugins couldn't cleanly integrate with physical product carts. Customers had to make separate purchases for crystals and consultations on disconnected third-party pages.

Rigid Content vs. Custom Logic: The editorial team struggled with slow admin dashboards, while developers were hamstrung by monolithic theme constraints when implementing custom promotional gift rules and automated PDF tax invoices.

The brand didn't need another WordPress band-aid. They needed to decouple their entire stack onto a clean, modular headless architecture.

The Journey

Launch week, and the months after.

Jaskirat Oberoi introduced us to Pragya and stayed close to the project throughout, keeping her team and ours in step on priorities.

  1. April 2026 · final week before launch

    Getting the details right

    Every session's price and duration went into one shared sheet that Pragya signed off. We mapped HSN codes by category so GST invoices come out right (18% for tarot readings, 3% for crystals). Sessions can only be booked between 12 pm and 10 pm with a buffer between them, and multi-day healing packages are paid upfront with no date to pick.

  2. 27 April 2026

    Launch

    The new site went live with its campaigns already running. The next morning Pragya messaged to say she really liked the new interface.

  3. 30 April 2026

    Gift hampers that add themselves

    For a giveaway campaign, the cart now adds a gift hamper automatically once an order crosses ₹3,999, with bigger hampers at ₹7,999 and ₹15,000. We had it ready in the backend and switched it on the moment Pragya gave the word.

  4. May 2026

    Sessions and crystals in one cart

    Customers wanted to combine a reading with crystals to reach a hamper, but sessions were booked separately. We moved sessions into the cart, with the booking details collected first, so one checkout covers both.

  5. May – June 2026

    WhatsApp, tracking and the hard bugs

    We connected WhatsApp through Interakt for order and booking confirmations, reminders and an auto-reply menu, and set up Meta Pixel and Google Analytics. Some bookings weren't getting their confirmation, and only for some customers. We traced it to a buffer set in Cal.com that the slot picker on the site didn't know about, and synced the two.

  6. July 2026

    Online courses launch, and reminders that keep time

    Pragya wanted to sell four recorded courses. Private YouTube videos can only be shared with 32 people each, so we built course access on the Google Drive API instead and launched the courses on the site: buyers get access automatically, and the videos can't be downloaded or passed on. We also fixed reminders that were going out at the wrong time, and they now tell the customer the actual time left before their session instead of a fixed "15 minutes".

The Headless Solution

An event-driven monorepo architecture.

We engineered a modular headless architecture orchestrated with Turborepo and pnpm workspaces, deployed with Docker and Nginx reverse proxy:

Frontend Layer · Port 8001

Next.js 14 App Router & RSC

Server-side rendered storefront using React Server Components for sub-second FCP, native URL localization (/[countryCode]/...), and a luxury spiritual design system built with Tailwind CSS.

Commerce Engine · Port 9000

Medusa v2 Core & Custom Modules

Headless commerce engine managing product catalogs, customer accounts, multi-currency pricing, and custom event subscribers connecting payments, booking APIs, and notifications.

Editorial CMS · Port 1337

Strapi Headless CMS

Decoupled content hub empowering the marketing team to dynamically update hero banners, intent collections, founder bios, testimonials, and FAQs without touching code.

Integrations & Infrastructure

Cal.com v2 · Razorpay · Redis · Postgres

Real-time slot locking with Cal.com v2 API, multi-currency Razorpay gateway, Redis job queue, PostgreSQL 16 persistence, and automated EasyInvoice PDF generation.

Engineering Highlights

Custom innovations built for high-touch commerce.

🔮 Unified Cart: Physical Crystals + Cal.com Bookings

When consultation services are added to the cart, session metadata (slot_iso_start, event_slug) attaches to the line item. Upon checkout completion (order.placed event), Medusa triggers a subscriber that calls Cal.com v2 API to lock the appointment and generate Google Meet invites for both Master Pragya and the customer automatically.

📜 Automated PDF Invoicing & Transactional SMTP

Engineered a dedicated Google SMTP notification module paired with easyinvoice within order-invoice.ts to programmatically generate branded, itemized PDF tax invoices with dynamic breakdowns, shipping fees, and order metadata attached directly to customer confirmation emails.

🎁 Intelligent Business Rule Automations

Built auto-add-gift.ts to dynamically evaluate cart subtotal thresholds and inject eligible complimentary energized gifts into the order lifecycle. Added low-stock-notifier.ts to monitor inventory levels in real-time and alert administrators before high-demand gemstones sell out.

⚖️ Custom Weight-Based Shipping Module

Developed a custom weight-shipping module that dynamically aggregates line-item grammage and postal code zones to compute accurate multi-tier carrier rates during checkout.

🔄 Medusa ↔ Strapi Content Synchronization

Created sync-strapi.ts subscribers ensuring categories, intent collections, and marketing tags stay synchronized between the commerce catalog and the headless CMS without duplicate manual data entry.

🌍 URL-Based Global Localization

Configured edge-ready routing (/in/en, /us/en) with automatic geo-detection, currency conversions, and country-specific tax rules for international clients seeking Vedic astrology readings.

💬 WhatsApp Booking Flow via Interakt

Every order and booking sends a WhatsApp confirmation with the Meet link, then reminders 1 hour and 15 minutes before the session. New chats get a numbered menu (tarot, kundli, crystals, combined sessions) that links straight to the right page, and international numbers get the right country code.

🧾 GST-Ready Invoices & Revenue Report

HSN codes mapped per product category so every invoice carries the right tax rate, plus a revenue report the team can hand to their accountant for monthly GST returns.

Visual Identity

A luxury spiritual aesthetic crafted to convert.

The visual identity was designed to convey reverence, divine energy, and high-end elegance:

Deep Mystical Purple & Champagne Gold Palette

Deep Mystical Purple (#1A0E22) representing higher spiritual consciousness, paired with Champagne Gold (#C5A059) for divine illumination, grounded by warm Ivory Pearl (#FAF9F6).

"Shop by Intent" Experience

Rather than generic product filters, customers discover stones and energized jewelry by emotional and spiritual objectives: Love & Relationships, Wealth & Prosperity, Health & Peace, and Evil Eye Protection.

Interactive Consultation Cards

Interactive flip-cards and modal drawers displaying Master Pragya's consultation offerings with color-coded intent metadata, duration tags, and instant slot availability.

Technology Stack

Battle-tested tools and frameworks.

Layer Technologies & Architecture
Monorepo Management Turborepo, pnpm Workspaces, Shared TypeScript Configs
Frontend Framework Next.js 14 (App Router), React 18, React Server Components (RSC)
Styling & Motion Tailwind CSS, Lucide Icons, Custom Micro-animations
Commerce Backend Medusa v2 (Custom TypeScript Modules, Event Subscribers, Workflows)
Content Management Strapi Headless CMS (Dynamic Zones, Components, REST API)
Persistence & Cache PostgreSQL 16, Redis Cache & Event Bus Queue
Third-Party APIs Cal.com API v2 (Booking Engine), Razorpay Gateway, Google SMTP
PDF Invoicing EasyInvoice (Programmatic dynamic tax & order breakdown)
DevOps & Hosting Multi-container Docker & Docker Compose, Nginx Reverse Proxy, Automated Shell Backups

Conclusion

Freedom, performance, and complete brand control.

Pragya Vijh shows how headless commerce unlocks unmatched operational flexibility and technical speed. By decoupling the presentation layer from backend business logic and editorial workflows, the brand now runs session booking, payment and reminders without manual work, and edits its own content in the CMS. In its first six months live, the store took 273 paid orders at an average of ₹1,082, and 15% of customers came back to buy again.

See more work

Explore the full portfolio

Back to Work ↗

Ready to build a
headless commerce
powerhouse?

Ready for a
headless store?

Book a 30-minute discovery call to see how Medusa, Next.js, and custom booking workflows fit your business.

Free 30-min call · Discuss scope & budget

Book your free call →

The craft in every click.