How sakshidadge09-coder/medipoint-medical-stores works
Medipoint is a PHP/MySQL medical-store admin system. An admin signs in at the login page, uses the dashboard for inventory, supplier/customer entry, billing and reports, then views or prints bills. The dashboard directly queries data and renders these capabilities; dedicated PHP handlers perform stock changes and bill creation, while the shared database connection serves the PHP pages. The README also identifies reporting and supplier management. Several dashboard details and its client-side wiring are only partially excerpted, so those links are documented at the dashboard boundary rather than expanded into unverified calls.
Main entry points: dashboard.php Dashboard · database.php MySQL database · index.php Login · logout.php Session logout
Components 12
Admin access
- Login
index.php - Session logout
logout.php - Admin setup
config/create_admin.php
Store operations
- Dashboard
dashboard.php - Stock management
manage_stock.php - Supplier entry
add_supplier.php - Customer entry
add_customer.php - Bill creation
save_bill.php - Bill viewing
view_bill.php - Sales reports
dashboard.php
Persistence
- MySQL database
config/database.php
Other components
- Store admin
Connections 20
- Store admin → Login: submits credentials
index.php - Login → Dashboard: redirects on success
index.php - Dashboard → Login: redirects if unauthenticated
dashboard.php - Store admin → Dashboard: uses admin console
README.md - Dashboard → Stock management: posts stock actions
- Dashboard → Supplier entry: adds suppliers
- Dashboard → Customer entry: adds customers
- Dashboard → Bill creation: submits bill
- Store admin → Bill viewing: views bill
README.md - Dashboard → MySQL database: queries store data
dashboard.php - Stock management → MySQL database: updates medicines
manage_stock.php - Supplier entry → MySQL database: writes suppliers
add_supplier.php - Customer entry → MySQL database: writes customers
add_customer.php - Bill creation → MySQL database: writes bill and stock
save_bill.php - Bill viewing → MySQL database: reads bill details
view_bill.php - Dashboard → Sales reports: renders sales metrics
dashboard.php - Sales reports → MySQL database: queries sales totals
dashboard.php - Admin setup → MySQL database: creates admin account
config/create_admin.php - Store admin → Session logout: logs out
README.md - Session logout → Login: redirects
logout.php