Ana Sayfa / Kod ve Scriptler / Book Shop Management System (ERP)

Book Shop Management System (ERP)

Satış, envanter ve finans için Laravel 13 REST API arka ucu ve Next.js 16 ön yüzü olan tam özellikli Kitapçı ERP'si.

  • Yayın tarihi24 Eylül 2026
  • VeritabanıMySQL 8.0, SQLite 3.x
  • Son güncelleme24 Eylül 2026
  • Canlı demoVar
Book Shop Management System (ERP)

Overview

BookStoreApp is a full-featured Book Shop Management System (ERP) for bookshops, distributors, and educational-supply businesses. It covers the complete sales lifecycle - Order, Delivery Challan, Invoice, Payment - alongside real-time inventory, procurement, expenses, users and roles, notifications, activity logs, and printable PDF/XLSX reports.

The product ships as a Laravel 13 (PHP 8.3+) REST API backend and a Next.js 16 / React 19 / TypeScript frontend, connected over JWT-authenticated JSON endpoints. It works out of the box with SQLite (zero database setup) and is production-ready on MySQL or MariaDB.

Key highlights:

  • Complete sales pipeline: Orders with auto-serial numbers and stock reservation, partial Delivery Challans, Invoices with due dates, and multi-invoice Payments with outstanding-balance tracking.
  • Real-time inventory: an append-only transaction ledger as the single source of truth, covering current stock, per-book ledger, opening stock, adjustments, damage write-offs, reservations, and low-stock notifications.
  • Purchasing and finance: purchase orders that auto stock-in on confirm, expenses with category and attachment upload, and a full audit trail.
  • Rich master data: customers, suppliers, publishers, authors, categories, and books (with cover upload), all with search, filter, sort, pagination, and soft delete with restore.
  • Role-based access: Admin, Manager, and Regular roles with per-module policies enforced server-side, plus JWT authentication with OTP password reset.
  • Reports: printable PDF documents for Orders, Delivery Challans, Invoices, Payments, Purchases, and Stock, XLSX exports, and a Postman collection for every endpoint.
  • 255 PHPUnit feature tests (787 assertions) included.

Features

Master data

  • Customers, suppliers, publishers, authors, categories, and books (with cover upload)
  • Search, filter, sort, and pagination everywhere
  • Soft deletes with restore

Sales pipeline

  • Orders: multi-item, serialized, source tracking, comments, status history, cancellation and RTO, stock reservation
  • Delivery challans: partial delivery, item conversion tracking (confirmed to delivered)
  • Invoices: auto-linked to deliveries, due dates, partial payments
  • Payments: multi-invoice settlement, balance tracking, due-invoice autofill

Inventory

  • Real-time current stock per book
  • Per-book stock ledger with transaction history
  • Stock reservations, auto re-allocated on cancel
  • Opening stock, adjustments, damage entries (manager only)
  • Low-stock in-app notifications

Purchasing and finance

  • Purchase orders with supplier/publisher, auto stock-in on confirm, pending-order reallocation
  • Expenses and expense categories with attachment upload
  • Activity logs and audit trail across modules

Access and security

  • JWT authentication, OTP password reset, profile and avatar management
  • Role-based access (Admin, Manager, Regular) with per-module policy gates

Reporting

  • Printable PDF reports: Orders, Delivery Challans, Invoices, Payments, Purchases, Stock
  • XLSX exports for orders, purchases, stock, invoices, and payments
  • Postman collection for every endpoint

Requirements

  • PHP 8.3+ (8.4 tested) with extensions: bcmath, ctype, curl, dom, fileinfo, gd, mbstring, openssl, pdo_mysql/pdo_sqlite, tokenizer, xml, zip
  • Composer 2
  • Node.js 20+ and npm
  • A database: SQLite works with zero setup; MySQL 5.7+/8.0 or MariaDB 10.4+ recommended for production