Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

DRXStore v2.0.0 — Complete Pharmacy Management System

Developed by Vineet | psvineet@zohomail.in


🚀 Quick Start (Termux / XAMPP / Any PHP Server)

  1. Extract drxstore/ to your web root
  2. Open browser → http://localhost/drxstore/
  3. The Setup Wizard launches automatically on first run
  4. Complete 4 steps: Store Info → Admin Account → Storage → Confirm
  5. Login with your credentials

📋 All Features

Admin Portal

ModuleFeatures
DashboardLive stats, 7-day chart, alerts, top medicines, recent sales
MedicinesCRUD, search, dosage forms, HSN, GST%, rack location
Import CSVBulk import from CSV with preview & duplicate detection
Batches/StockFull management, expiry tracking, status filters
Stock AdjustmentAdd/Remove with reason & audit trail
SuppliersCRUD, auto-create portal accounts, email credentials
Purchase OrdersCreate POs, notify supplier by email, receive
New Sale / POSCart, customer select, batch picker, live stock/MRP
Payment MethodsCash, UPI (ref no), Cheque (no+bank+date), Card, Credit
DiscountsPercentage or flat, per-sale application
Sales HistoryDate/customer filter, full invoice view & print
ReturnsProcess returns, restock, refund tracking
CustomersCRUD, purchase history, total spent
LedgerIncome/expense/return entries with date filter
Analytics12-month chart, top medicines, top customers, payment breakdown
Expiry ReportExpired/30d/90d/good tier with stock info
UsersAdd/edit/toggle, role-based (admin/staff)
SettingsStore info, currency, thresholds, password change

Security

  • BCrypt password hashing
  • CSRF tokens on all forms
  • Brute-force protection (5 attempts → 15 min lockout)
  • Session timeout (2 hours)
  • XSS-safe output everywhere
  • Data directory protected from web access

🔧 Setup Requirements

  • PHP 7.4+
  • Web server (Apache/Nginx/Termux httpd)
  • Write permission on data/ folder: chmod 755 data/
  • mail() function for email features (optional)

🗄️ Storage Options

  • JSON (default) — No setup, works on Termux immediately
  • MySQL — Select during setup wizard, same interface

📁 Structure

drxstore/
├── index.php ← Router (all pages via ?p=pagename)
├── config/app.php ← Bootstrap & constants
├── helpers/
│ ├── JsonDB.php ← JSON storage engine
│ └── functions.php ← All utility helpers
├── views/
│ ├── layout_admin.php
├── assets/css/app.css
├── assets/js/app.js
├── data/ ← Auto-created, all JSON data stored here
└── public/
├── admin/ ← All admin pages
└── setup/ ← First-launch wizard

📧 Contact

Developer: Vineet
Email:psvineet@zohomail.in

DRXStore v2.0.0 — Built with ❤️ by Vineet

About

An ultra-lightweight, zero-dependency pharmacy management system.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages