ModularFactory
Composable factory software
Lets factory teams assemble a workspace from the modules they need.
- Company
VarVik Technologies
- Role
- Lead engineer
- Domains
- Backend
- Frontend

- Backend tests
- 1,000+
- Composable modules:
- 7
- Visual canvases:
- 2
On this page
Tech stack
- FastAPI
- MongoDB
- React 19
- Vite
- TypeScript
- pytest
- Vitest
- Playwright
The problem
Small manufacturers need inventory, orders, invoicing, and compliance, but every factory needs a different mix.
Full ERP suites are heavy to adopt, and custom builds are slow to deliver and hard to maintain once each customer's version drifts apart.
The challenge
The platform had to let someone assemble a working factory workspace without writing code, while keeping each module independent enough to build, test, and ship on its own. I designed a composer that blocks a build when a required module is missing, and warns when an event has no publisher or an integration has no credentials.
Accepting a composition enables modules in dependency order and generates an overview dashboard. A second canvas chains events to actions, such as raising an invoice when a dispatch is logged.
System design
A FastAPI kernel reads each module's manifest, resolves a dependency order with cycle detection, and routes domain events between modules through an event bus. A lint check fails the build if one module imports another, so modules only talk through events. Background work runs on a lightweight job worker backed by MongoDB instead of a separate queue. Compliance output covers e-way bill payloads with sandbox and stub modes, GSTR-1 returns, and Tally XML. A React 19 and Vite front end hosts both canvases.
Results
ModularFactory is a working local MVP in its own codebase, generalizing patterns first proven in FactoryOS. Seven modules (inventory, orders and dispatch, GST invoicing, RFID asset tracking, people, partners, and purchasing) compose into a live workspace, and compositions save as reusable blueprints. The suite holds more than a thousand backend tests plus Playwright end-to-end journeys. It is not deployed yet.
More from VarVik Technologies

RenderBoard AI
Takes a floor plan through rendering and presentation, with approval before paid steps.
Next case study

ProvenPlug
Helps EV drivers find working chargers and plan trips with backup stops.

Uruku
Lets neighbors compete by tracking progress against their own walking goals.

RevenueAgent
Keeps outreach eligibility, source records, and approvals together.

Homesuite
Keeps owners, consultants, and field teams working from the same construction schedule.

VarVik CMS
Let teams publish magazine sites and client blogs from shared infrastructure.

VarVik Suite
Gives staff shared access to office tools and keeps backups and routine upkeep in one place.

VarVik Audit
Keeps measured website checks and AI mention results separate from generated explanations.

Shaukly
Helps families find verified teachers and classes for children in their language.

VakeelOS
Brings court hearings, case files, and drafting into one workspace for Indian advocates.

FactoryOS
Connects cylinder scans, dispatch invoices, and branch records in one ledger.

Nuvé
Lets visitors explore the studio's rooms and request an appointment from one page.

Nuvé Infra
Shows landowners what the studio builds and how to discuss a project.

Mirakki Haircare
Helps shoppers choose hair care products by concern and complete their purchase in one place.

HumnError
Uses a warehouse illustration to explain how the product connects tools and team data.

Unmute
Lets visitors explore the studio through a visual field that makes sound in the browser.

Roshni Vasudevan
Lets clients browse work by discipline and see the thinking behind each project.
17 other case studies from VarVik Technologies.
All VarVik Technologies projectsTalk through the build
I can walk you through how ModularFactory went from idea to working product: the decisions, the architecture, and the trade-offs.