NEW Version 2.0 — React Native 0.81 + Django 5.1

Milk.
Managed
Perfectly.

A complete dairy management system to track milk buying, selling, generate reports, and manage your team — all from your phone or browser.

📊
📷
📥
🔔

Good Morning, Admin 👋

Samad Dairy Dashboard

Today Buy
142 kg
Revenue
₹5,480
Avg FAT
4.2%
Entries
18
Weekly Trend
📥 BUY
📤 SELL
Latest Release

Samad Dairy
Android App

Download and install the latest version of Samad Dairy on your Android device. Scan slips, track milk records, view reports — all offline-capable.

Version v2.0.0
Platform Android 8.0+
Size ~45 MB
Released Apr 2026
⬇️
Download APK — Free

⚙️ Enable "Install from unknown sources" in Android Settings before installing.

🥛
SamadDairy_v2.0.0.apk
React Native 0.81
New Architecture

Everything your dairy needs,
nothing it doesn't.

📷

Slip Scanner (OCR)

Point your camera at the Everest machine slip. ML Kit reads STN ID, FAT, SNF, WT, RT/LT, RS — and fills the form instantly.

📊

Live Dashboard

Today's buy/sell totals, weekly trend charts, monthly revenue by week — all at a glance with real-time data from the server.

📥

Buy & Sell Tracking

Admin manages sell entries with customer selection. Staff records buy entries per shift. Full history with filters by staff, month, and year.

📈

Excel Reports

Generate and download monthly Excel reports with one tap. Styled headers, totals row, buy/sell separate sheets — built with SheetJS.

🔔

Smart Alerts

Rate change notifications auto-fire via Django signal. Admin can push custom alerts to all staff, or targeted roles.

📍

Login Activity Tracking

Every login records IP address, city, country, ISP, device model and OS — all resolved server-side. No app location permission needed.

👥

Role-based Access

Admin controls milk rate, staff management, and all records. Staff records buy entries and views personal reports only.

🌙

Dark / Light Theme

Full dark and light mode with smooth toggle. Preferences saved locally. Designed for outdoor dairy environments with high contrast.

🔐

Phone-based Auth

Login and register with just phone number + password. JWT access tokens (60 min) + refresh tokens (30 days) with blacklist on logout.

REST API

All endpoints at a glance

🔐 Auth & Profile
POST /auth/register
POST /auth/login
POST /auth/logout
POST /auth/token/refresh
GET /auth/me 🔒
PUT /auth/profile 🔒
PUT /auth/change-password 🔒
GET /auth/activity 🔒
👥 Staff & Customers
GET /auth/users/staff 👑
POST /auth/users/staff 👑
GET /auth/users/staff/<id> 👑
DEL /auth/users/staff/<id> 👑
GET /auth/users/customers 🔒
POST /auth/users/customers 🔒
PUT /auth/users/customers/<id> 🔒
DEL /auth/users/customers/<id> 🔒
🥛 Milk Rate & Buy
GET /milk/rate 🔒
PUT /milk/rate 👑
GET /milk/buy 🔒
POST /milk/buy 🔒
GET /milk/buy/<id> 🔒
DEL /milk/buy/<id> 🔒
GET /milk/sell 👑
POST /milk/sell 👑
📊 Dashboard & Reports
GET /milk/entries 🔒
GET /milk/dashboard 🔒
GET /milk/report/preview 🔒
GET /milk/report/excel 🔒
GET /alerts/ 🔒
POST /alerts/ 👑
PATCH /alerts/<id>/read 🔒
GET /admin/ Django Admin
🔒 Requires Bearer token  ·  👑 Admin role required  ·  All responses: { "success": true/false, ... }

Built With

Django 5.1
DRF 3.15
SimpleJWT
PostgreSQL
React Native 0.81
Redux Toolkit
Vision Camera v4
ML Kit OCR
SheetJS / xlsx
ip-api.com