Skip to content
@Jeffi-ERP

Jeffi ERP

The Jeffi Stores commerce platform, developed in the open: storefront, admin, B2B and multi-tenant SaaS for Indian merchants.

Jeffi ERP

The source of Jeffi Stores, a commerce platform for Indian merchants, with one repository per service.
jeffistores.in · Start with workspace · Contributing

What this is

Jeffi Stores runs jeffistores.in and a multi-tenant SaaS that runs stores for other merchants: a customer storefront, a store admin, a B2B portal and the platform control plane, with GST invoicing, Razorpay and UPI payments, Delhivery shipping, WhatsApp, SMS and email messaging, an AI gateway and an Expo mobile app. It is written in TypeScript: Next.js apps and Node.js services on PostgreSQL.

The platform is built in AloysJehwin/Jeffi_Stores. Each service is exported from its main branch into a repository here, so you can read and change one service without the rest. Changes merged here go back upstream and come back with a later release.

Repositories

Repository What it holds
workspace Start here. Shared root config (package.json, tsconfig, Vitest, ESLint), the DB schema loader, and oss/assemble.mjs, which clones every other repo into place.
storefront-service Customer storefront (Next.js): catalogue, search, cart, checkout, accounts.
admin-service Store admin panel (Next.js): products, orders, invoices, GST, CRM, campaigns.
business-service B2B portal (Next.js): business accounts, RFQs, quotations, bulk ordering.
controller-service Platform control plane (Next.js): tenants, provisioning, plans, billing and the ecom portal.
showcase-service One-page business websites (Next.js).
messaging-service WhatsApp, SMS, email and push messaging: templates, sending and delivery tracking.
document-service PDF documents: invoices, quotations, purchase orders, receipts.
public-api-service Public REST API (/v1) for stores and integrations.
mobile-service Mobile backend API and the Expo (React Native) shopping app.
ai-platform AI gateway and SDK: chat, embeddings, vision and OCR with caching and a durable queue.
store-core Shared core of the Next.js apps: UI components, domain logic, database access, auth and middleware.
packages Shared TypeScript packages: tenancy, service auth, pricing, GST, wallet, push, bulk jobs, the CLI and more.

Get started

git clone https://github.com/Jeffi-ERP/workspace.git jeffi-erp
cd jeffi-erp
node oss/assemble.mjs    # clones every repository into its folder

CONTRIBUTING.md covers the database, environment, dev server and checks.

How a change gets in

fork -> pull request to main
          |  a maintainer reviews it and adds ok-to-test (a new push removes it)
          v
        PR checks (lint, type check, unit tests) + Guard
          |
          v
        squash merge by the owner or the maintainers team
          |
          v
        Pre-build -> Build -> approval
          |
          v
        pull request in AloysJehwin/Jeffi_Stores -> release -> exported back here

Nothing runs on a pull request until a maintainer adds ok-to-test. Guard fails if a pull request changes managed files (.github/, LICENSE, and oss/ in workspace); propose those changes in an issue.

Licence

GNU Affero General Public License v3.0 (AGPL-3.0-only). It is open source: you can use, study, modify and redistribute the code, including in production. If you distribute a modified version, or run one as a service that people use over a network, you must make its source available to those users under the same licence. If you can't meet those terms, for example because you want to keep your changes private, Jeffi Stores offers a commercial licence: email support@jeffistores.in.

Contributions are licensed the same way, and contributors grant Jeffi Stores the right to relicense them. Details are in CONTRIBUTING.md.

Community

Questions go to Discussions. Anything private goes to support@jeffistores.in.

Pinned Loading

  1. storefront-service storefront-service Public

    Customer storefront (Next.js): catalogue, search, cart, checkout and accounts.

    JavaScript

  2. workspace workspace Public

    Start here: shared root config (package.json, tsconfig, Vitest, ESLint), the DB schema loader, and oss/assemble.mjs, which clones every Jeffi ERP repo into place.

    TypeScript

  3. admin-service admin-service Public

    Store admin panel (Next.js): products, orders, invoices, GST, CRM and campaigns.

    TypeScript

  4. controller-service controller-service Public

    Platform control plane (Next.js): tenants, provisioning, plans, billing and the ecom portal.

    TypeScript

  5. ai-platform ai-platform Public

    AI gateway and SDK: chat, embeddings, vision and OCR with caching and a durable queue.

    TypeScript

  6. store-core store-core Public

    Shared core of the Next.js apps: UI components, domain logic, database access, auth and middleware.

    TypeScript 2

Repositories

Showing 10 of 14 repositories

Top languages

Loading…

Most used topics

Loading…