Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

81 Commits
81 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Inventra Dashboard

๐Ÿข Inventra II โ€” Enterprise Inventory & Business Management

The all-in-one open-source platform for managing your business operations with precision. Built with Next.js, NestJS, and TypeScript โ€” designed for enterprises, freelancers, and growing businesses.


License: MIT Next.js NestJS TypeScript PRs Welcome Open Source


๐Ÿš€ Live Demo ยท ๐Ÿ“– Documentation ยท ๐Ÿ› Report Bug ยท โœจ Request Feature ยท ๐Ÿค Contribute


โœจ Why Inventra?

Most inventory tools are either too simple for real business needs or too expensive for small enterprises. Inventra bridges that gap โ€” offering enterprise-grade features while remaining fully open source, self-hostable, and customizable.

Whether you're running a retail shop, a wholesale business, or a multi-branch enterprise โ€” Inventra gives you complete visibility and control over every rupee in and every product out.


๐Ÿ“ธ Screenshots

Dashboard
๐Ÿ“Š Main Dashboard
Settings & Notifications
โš™๏ธ Notification Settings
Accounts Management
๐Ÿ’ฐ Accounts Management
Dark Mode
๐ŸŒ™ Beautiful Dark Mode

๐Ÿš€ Feature Overview

๐Ÿ“ฆ Inventory & Product Management

  • Full product catalog with categories, SKUs, variants, and pricing
  • Real-time stock level tracking across locations
  • Low Stock Alerts โ€” get notified when any product falls below your custom threshold
  • Batch product updates and bulk import/export support
  • Product cost vs. selling price margin calculation

๐Ÿ›’ Sales Management (Sells)

  • Create, manage, and track sales orders end-to-end
  • Invoice generation with PDF export โ€” professional, branded, print-ready
  • Sales history, filtering, and drill-down reports
  • Payment tracking: partial, full, and overdue
  • Discount and tax configuration per product or order

๐Ÿ›๏ธ Purchase Management (Buys)

  • Manage purchase orders from vendors
  • Track received vs. pending stock
  • Vendor payment tracking and aging reports
  • Purchase history with full audit trail

๐Ÿ‘ฅ Customer Management

  • Comprehensive customer profiles with contact info and transaction history
  • Receivables tracking โ€” know exactly who owes you money and how much
  • Customer credit limits and outstanding balance visibility
  • Customer-level profit and engagement reports
  • PDF reports per customer โ€” share or print instantly

๐Ÿญ Vendor Management

  • Full vendor directory with terms, contacts, and history
  • Payables tracking โ€” never miss a payment to a supplier
  • Vendor-wise purchase history and performance reports
  • Payment scheduling and reminder system

โšก Quick Entries

  • Rapid transaction entry for fast-paced business environments
  • Keyboard-friendly interface for speed
  • Bulk entry support for common daily operations
  • Reduce data entry time by up to 70%

๐Ÿงฎ Critical Calculations & Dry-Run Expansion

  • Dry-run simulation engine โ€” forecast what happens when stock is expanded or reduced
  • Automatic profit/loss calculations per transaction
  • Gross margin, net margin, and ROI calculations
  • Cash flow projections based on receivables and payables

๐Ÿ“Š Reporting System

  • Business-wide reports: Sales, Purchases, Profit & Loss, Cash Flow
  • Customer reports: Outstanding balances, transaction history, aging analysis
  • Vendor reports: Payable aging, purchase summaries
  • Inventory reports: Stock valuation, movement history, low stock summary
  • All reports exportable to PDF with your business branding
  • Date range filters, category filters, and comparative period analysis

๐Ÿ’ณ Accounts & Ledger

  • Double-entry style transaction tracking
  • Receivables (who owes you) vs. Payables (who you owe) โ€” clearly separated
  • Complete account history with running balances
  • Bank and cash account management

๐Ÿ”” Notifications & Alerts

  • Low Stock Alerts โ€” configurable per-product thresholds
  • Order Aging Alerts โ€” flag orders pending beyond N hours
  • Receivable Reminders โ€” auto-remind when payments are overdue
  • Payable Reminders โ€” never miss a vendor payment
  • Email notification support (SMS โ€” coming soon)
  • In-app notification center with badge counts

๐ŸŒ Multi-Language Support

  • Full internationalization (i18n) built-in
  • Supports English and Bengali (เฆฌเฆพเฆ‚เฆฒเฆพ) out of the box
  • Easy to extend with additional languages
  • RTL-ready architecture

๐ŸŽจ UI & Theming

  • Stunning Dark Mode and Light Mode
  • Clean, modern enterprise UI
  • Fully responsive โ€” works on desktop, tablet, and mobile
  • Accessible design with keyboard navigation

๐Ÿ—๏ธ Tech Stack

Layer Technology
Frontend Next.js 15, React, TypeScript
Backend NestJS, TypeScript
Database PostgreSQL / MySQL (configurable)
ORM TypeORM / Prisma
Auth JWT + Role-Based Access Control
PDF Engine Custom PDF generation engine
i18n next-i18next / react-intl
UI Components Custom component library
State Management Zustand / React Query

๐Ÿ› ๏ธ Getting Started

Prerequisites

Make sure you have the following installed:

Node.js >= 18.x
npm >= 9.x  (or yarn / pnpm)
PostgreSQL >= 14
Git

Installation

1. Clone the repository

git clone https://github.com/your-username/inventra.git
cd inventra

2. Install dependencies

# Install backend dependencies
cd backend
npm install

# Install frontend dependencies
cd ../frontend
npm install

3. Configure environment

# Backend
cd backend
cp .env.example .env
# Edit .env with your database credentials and secrets

# Frontend
cd ../frontend
cp .env.example .env.local
# Edit .env.local with your API URL

4. Set up the database

cd backend
npm run migration:run
npm run seed  # Optional: seed with demo data

5. Run the development servers

# In one terminal โ€” start backend (NestJS)
cd backend
npm run start:dev

# In another terminal โ€” start frontend (Next.js)
cd frontend
npm run dev

6. Open your browser

Frontend:  http://localhost:3000
Backend:   http://localhost:3001
API Docs:  http://localhost:3001/api/docs

๐Ÿณ Docker (Recommended for Production)

# Clone and configure
git clone https://github.com/your-username/inventra.git
cd inventra
cp .env.example .env  # Fill in your values

# Start everything with Docker Compose
docker-compose up -d

# Open at http://localhost:3000

๐Ÿ“‚ Project Structure

inventra/
โ”œโ”€โ”€ backend/                  # NestJS API
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ modules/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ auth/         # Authentication & authorization
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ products/     # Product & inventory management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ customers/    # Customer management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ vendors/      # Vendor management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ sells/        # Sales management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ buys/         # Purchase management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ accounts/     # Financial accounts & ledger
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ reports/      # Reporting engine
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ notifications/# Alert & notification system
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ settings/     # System configuration
โ”‚   โ”‚   โ””โ”€โ”€ common/           # Shared utilities, guards, decorators
โ”‚   โ””โ”€โ”€ ...
โ”‚
โ”œโ”€โ”€ frontend/                 # Next.js App
โ”‚   โ”œโ”€โ”€ app/                  # App router pages
โ”‚   โ”œโ”€โ”€ components/           # Reusable UI components
โ”‚   โ”œโ”€โ”€ lib/                  # API clients, hooks, utils
โ”‚   โ”œโ”€โ”€ locales/              # i18n translation files (en, bn, ...)
โ”‚   โ””โ”€โ”€ ...
โ”‚
โ”œโ”€โ”€ docker-compose.yml
โ””โ”€โ”€ README.md

๐Ÿค Contributing

We welcome contributions from developers of all skill levels! Inventra is built for the community, by the community.

How to Contribute

1. Fork the repository Click the Fork button at the top right of this page.

2. Create your feature branch

git checkout -b feature/amazing-feature

3. Make your changes Write clean, typed TypeScript. Follow existing code patterns.

4. Commit with a clear message

git commit -m "feat: add amazing feature"

5. Push and open a Pull Request

git push origin feature/amazing-feature

Then open a PR against the main branch. Fill in the PR template.

Contribution Areas

Area What's Needed
๐ŸŒ Translations Add new languages to /locales
๐Ÿ› Bug Fixes Pick up issues labeled good first issue
๐Ÿ“ฑ Mobile UI Improve responsive layouts
๐Ÿ“Š Reports New report types and charts
๐Ÿงช Tests Unit and integration test coverage
๐Ÿ“– Docs Improve documentation and examples
๐Ÿ”Œ Integrations Payment gateways, accounting tools

Code Standards

  • TypeScript strict mode โ€” no any types
  • ESLint + Prettier โ€” run npm run lint before committing
  • Conventional Commits โ€” feat:, fix:, docs:, chore:, etc.
  • Write tests for new features when possible

Please read our CONTRIBUTING.md and CODE_OF_CONDUCT.md before contributing.


๐Ÿ—บ๏ธ Roadmap

  • Product & Inventory Management
  • Sales & Purchase Management
  • Customer & Vendor Management
  • Accounts & Receivables/Payables
  • PDF Invoice & Report Generation
  • Multi-language (EN + BN)
  • Dark Mode
  • Notification System
  • SMS Notifications (in progress)
  • Mobile App (React Native)
  • Multi-branch / Multi-warehouse support
  • Barcode / QR Code scanner integration
  • Payment gateway integration (bKash, Nagad, Stripe)
  • WhatsApp notification support
  • Public customer portal
  • Advanced analytics with charts

๐Ÿ› Reporting Issues

Found a bug? Have a suggestion?

  1. Check existing issues first
  2. Open a new issue with:
    • Clear title and description
    • Steps to reproduce (for bugs)
    • Expected vs. actual behavior
    • Screenshots if helpful

๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for full details.

You are free to use, modify, and distribute this software for personal or commercial purposes with attribution.


๐Ÿ™ Acknowledgements

  • NestJS โ€” progressive Node.js framework
  • Next.js โ€” the React framework for production
  • TypeScript โ€” typed JavaScript at scale
  • All the amazing open source contributors who make this possible โค๏ธ

Made with โค๏ธ for businesses everywhere

โญ Star this repo if you find it useful โ€” it helps others discover Inventra!

๐Ÿฆ Twitter ยท ๐Ÿ’ฌ Discord ยท ๐Ÿ“ง Email

About

๐Ÿข Open-source enterprise inventory & business management system โ€” sales, purchases, customers, vendors, accounts, PDF invoices, low stock alerts, multi-language (EN/BN) | Built with Next.js + NestJS + TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.