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.
๐ Live Demo ยท ๐ Documentation ยท ๐ Report Bug ยท โจ Request Feature ยท ๐ค Contribute
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.
|
๐ Main Dashboard |
โ๏ธ Notification Settings |
|
๐ฐ Accounts Management |
๐ Beautiful Dark Mode |
- 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
- 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
- Manage purchase orders from vendors
- Track received vs. pending stock
- Vendor payment tracking and aging reports
- Purchase history with full audit trail
- 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
- 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
- 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%
- 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
- 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
- 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
- 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
- Full internationalization (i18n) built-in
- Supports English and Bengali (เฆฌเฆพเฆเฆฒเฆพ) out of the box
- Easy to extend with additional languages
- RTL-ready architecture
- Stunning Dark Mode and Light Mode
- Clean, modern enterprise UI
- Fully responsive โ works on desktop, tablet, and mobile
- Accessible design with keyboard navigation
| 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 |
Make sure you have the following installed:
Node.js >= 18.x
npm >= 9.x (or yarn / pnpm)
PostgreSQL >= 14
Git1. Clone the repository
git clone https://github.com/your-username/inventra.git
cd inventra2. Install dependencies
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install3. 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 URL4. Set up the database
cd backend
npm run migration:run
npm run seed # Optional: seed with demo data5. 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 dev6. Open your browser
Frontend: http://localhost:3000
Backend: http://localhost:3001
API Docs: http://localhost:3001/api/docs
# 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:3000inventra/
โโโ 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
We welcome contributions from developers of all skill levels! Inventra is built for the community, by the community.
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-feature3. 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-featureThen open a PR against the main branch. Fill in the PR template.
| 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 |
- TypeScript strict mode โ no
anytypes - ESLint + Prettier โ run
npm run lintbefore 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.
- 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
Found a bug? Have a suggestion?
- Check existing issues first
- Open a new issue with:
- Clear title and description
- Steps to reproduce (for bugs)
- Expected vs. actual behavior
- Screenshots if helpful
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.
- 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!