Technology

Real code, on a stack that scales with the business.

MSWCart is built on widely adopted, well-supported frameworks: Next.js for storefronts, FastAPI for the API and Flutter for mobile apps. No proprietary page builder sits in between.

Architecture

How a request flows through MSWCart.

Simplified, as described by the product team. Infrastructure details (hosting, regions) are deliberately not published.

Shoppers on web

Browser

Shoppers on mobile

Android & iOS

Storefront

Next.js · server-rendered

Branded app

Flutter

MSWCart API

Python · FastAPI · JWT · RBAC

PostgreSQL

Catalogue, orders

Redis

Caching

Razorpay

Hosted checkout

Merchants manage everything through the admin dashboard, which uses the same API.

Stack

The technology, layer by layer.

LayerTechnologyNotes
StorefrontNext.js (React)Server-rendered pages for speed and SEO
Backend APIPython · FastAPI · Pydantic · SQLAlchemyTyped, async REST API
Mobile appsFlutter (Dart)One codebase for Android and iOS
DatabasePostgreSQL · Redis (caching) · Alembic migrationsAs listed on the current site
SecurityJWT auth · Argon2 password hashing · rate limiting · RBACAs listed on the current site
PaymentsRazorpay hosted checkoutCard data never touches MSWCart servers
Hosting & operationsShared with customers and investors on request

Scalability

What the architecture supports as MSWCart grows.

Many merchants

Each merchant gets an isolated store today; the multi-tenant platform on the roadmap will host many stores on shared infrastructure with tenant isolation.

Independent storefronts

Every store has its own domain, branding and catalogue; the storefront is server-rendered for speed and SEO.

Growing catalogues

Designed for catalogues up to 10,000 products with variants; PostgreSQL indexing and Redis caching keep reads fast.

Growing order volumes

The FastAPI service is asynchronous and stateless, so it can scale horizontally behind a load balancer.

Mobile apps

One Flutter codebase produces Android and iOS apps that use the same API as the website.

Future products

A typed API (Pydantic schemas) lets new clients and integrations be added without rewriting the core.

Today → next

The next architecture step.

Today each merchant runs on its own deployment. The roadmap moves MSWCart to a multi-tenant platform with object storage and a CDN, which lowers the cost of serving each store and makes self-serve onboarding possible.

Today

  • Isolated deployment per merchant
  • Media on application storage
  • Razorpay payments

Next

  • Multi-tenant platform, tenant-isolated data
  • Object storage + CDN for media
  • Push notifications · Stripe & PayPal · multi-currency

“Today” reflects the public roadmap; the engineering team should confirm it before investor use.

Platform overview