Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/MultiSas/llms.txt

Use this file to discover all available pages before exploring further.

MultiSas is a Node.js/Express REST API designed for multi-business management. Each company operates in its own isolated data space, with role-based access control, subscription plan enforcement, and purpose-built modules for sublimation shops, restaurants, pharmacies, and more.

Quickstart

Set up and make your first API call in minutes

Authentication

Learn how JWT tokens and roles protect every endpoint

API Reference

Full endpoint documentation for all modules

Core Concepts

Understand multi-tenancy, plans, and permissions

What’s Inside

MultiSas bundles several business-domain modules into a single deployable service. Each module is scoped to a company and enforces the active subscription plan.

Sublimation

Order management, production workflow, sales, employees, and payroll roster for sublimation businesses

Restaurant

Table management, POS orders, delivery tracking, and menu catalog for restaurant operations

Pharmacy

Product inventory, client management, and sales tracking for pharmacy operations

Accounting

Chart of accounts, credit notes, and debit notes for financial record-keeping

HR

Employee records, contract types, and payroll roster management

Plans & Billing

Basic, Professional, and Premium subscription tiers with feature gating

Getting Started

1

Deploy the server

Clone the repository, configure your .env file with MongoDB connection string, port, and JWT secret, then run npm run dev.
2

Register a company

Call POST /api/user/register-company to create a company account. The response returns a JWT token you’ll use for all subsequent requests.
3

Authenticate requests

Include the JWT token in the token-access header as Bearer <token> on every protected endpoint.
4

Explore the modules

Pick the business module that fits your use case — sublimation, restaurant, pharmacy, or accounting — and start creating resources scoped to your company_id.
All protected endpoints require a valid JWT token in the token-access header. Some endpoints additionally require specific roles (Admin, Super Admin) or an active subscription plan.

Build docs developers (and LLMs) love