Skip to main content

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.

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.

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
All protected routes require a valid JWT, and every database operation goes through stored procedures — the backend executes no raw SQL queries.

Tech stack

LayerTechnology
FrontendReact 19 + Vite 8 + Tailwind CSS v4
BackendNode.js + Express 5
DatabaseMySQL 8 (stored procedures + triggers)
AuthJWT (8-hour expiry) + SHA-256 password hashing
ChartsRecharts

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.

Build docs developers (and LLMs) love