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.
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.
| Layer | Technology | Notes |
|---|---|---|
| Storefront | Next.js (React) | Server-rendered pages for speed and SEO |
| Backend API | Python · FastAPI · Pydantic · SQLAlchemy | Typed, async REST API |
| Mobile apps | Flutter (Dart) | One codebase for Android and iOS |
| Database | PostgreSQL · Redis (caching) · Alembic migrations | As listed on the current site |
| Security | JWT auth · Argon2 password hashing · rate limiting · RBAC | As listed on the current site |
| Payments | Razorpay hosted checkout | Card data never touches MSWCart servers |
| Hosting & operations | Shared 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
- 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