Menu
GitHubLinkedIn

Overview

PasalBot is a full-stack shop automation platform built for Nepali sellers operating on Facebook and Instagram. 'Pasal' means shop in Nepali. Sellers get a configurable keyword bot, a shareable public shop URL, and a live dashboard — customers just type what they want and the bot handles the rest.

Problem Solved

Nepali entrepreneurs running businesses through social media DMs manually answer the same questions hundreds of times — price? stock? delivery? — and track orders in notebooks. PasalBot automates the entire conversation, captures every order, and gives sellers a real-time view of their business.

Key Modules

Keyword Bot Engine

Sellers define trigger words and custom replies. The bot matches customer messages, handles product search, cart management, and walks through a full checkout — name, address, phone — without seller intervention.

Public Shop Page

Every seller gets a unique /shop/slug URL with their full product catalog, category filters, and embedded bot. Customers can browse and order without any app or account.

Live Order Dashboard

Real-time order pipeline with status tracking (Pending → Confirmed → Delivered → Cancelled), NPR revenue stats, weekly order count, and low-stock alerts.

6 Themes × 5 Templates

Sellers pick a color theme and shop layout independently. Changes reflect on the public shop instantly via BroadcastChannel without a page reload.

Technical Architecture

Clean separation between client and server. All shop state lives in ShopContext with useCallback actions and a typed API service layer. The server uses per-shop data isolation with shopId scoping on every query, atomic order ID generation via a counter collection, and an explicit field whitelist on all write endpoints.

Context APIuseCallbackCSS ModulesNPR UtilsSPA RoutingExpress RESTMongooseJWT

Design Language

Mobile-first UI built for sellers on the go. Chat-driven checkout minimizes typing. High-contrast status badges, NPR currency formatting throughout, and CSS Modules for scoped theming across 6 color palettes.