Manufacturing product authentication and supply-chain traceability using Africa's Talking SMS and USSD
# MaliSure MVP Starter
Stack: PHP 8+, MySQL/MariaDB, Bootstrap 5, JavaScript.
## XAMPP setup
1. Extract this folder to `C:\xampp\htdocs\malisure`.
2. Import the separate **MaliSure Database Deployable** package's `install.sql` in phpMyAdmin.
3. Start Apache + MySQL.
4. Open `
localhost`.
Demo login:
- Email: `owner@savanna.test`
- Password: `MaliSure123!`
Demo serial: `SRX-DEMO-0001`
## Working MVP features
- Login/dashboard
- Products
- Manufacturing batches
- Individual serial generation
- Carton/package aggregation
- Product traceability ledger
- Consumer web verification
- Duplicate-code risk detection + alert
- Batch recall
- Starter SMS and USSD callback endpoints
## Africa's Talking endpoints
- SMS callback: `/api/sms.php`
- USSD callback: `/api/ussd.php`
The callback field names may need a small adjustment to the exact Africa's Talking payload/account setup used at the event. The core verification logic is already shared by web, SMS and USSD.
## Best demo
1. Login.
2. Show Partners: distributor and retailer cannot generate brand serials.
3. Verify `SRX-DEMO-0001` once: verified + authorized retailer.
4. Verify it again: suspicious duplicate warning.
5. Open Alerts: cloned-serial alert appears.
6. Open Traceability for the serial to show Savanna → distributor → retailer.
7. Recall the batch and verify again to show a recall response.