Botica Nova Salud is a full-stack web application built to replace manual sales processes at independent pharmacies. Instead of tracking sales, stock levels, and client records across spreadsheets or paper, pharmacy staff can register boletas and facturas, search products and clients, monitor inventory alerts, and review daily activity — all from a browser.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/15aozzz/Lab-Nova-Salud/llms.txt
Use this file to discover all available pages before exploring further.
What it does
The system covers the core operational needs of a pharmacy sales counter:- Sales registration — create boletas and facturas with product search, client lookup, and automatic stock deduction via MySQL triggers
- Dashboard — real-time KPIs (daily revenue, transaction count, average ticket value, critical stock count), a weekly sales chart, and low-stock alerts
- Inventory management — full product catalog with pricing tiers, categories, and stock tracking
- Client management — search and maintain client records by document number
- User management — create and manage system user accounts with role-based access
Tech stack
| Layer | Technology |
|---|---|
| Frontend | React 19 + Vite 8 + Tailwind CSS v4 |
| Backend | Node.js + Express 5 |
| Database | MySQL 8 (stored procedures + triggers) |
| Auth | JWT (8-hour expiry) + SHA-256 password hashing |
| Charts | Recharts |
Get started
Quickstart
Clone the repo, import the database, and have the app running in minutes.
Configuration
Reference for all environment variables in the backend and frontend.
Dashboard
Explore the KPI dashboard, sales charts, and stock alert system.
API overview
All REST endpoints, the stored procedures they call, and example payloads.