You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comprehensive, full-stack business management platform designed for small-to-medium enterprises (SMEs). Biz Smart Tracker unifies sales tracking, inventory management, employee attendance, expense monitoring, customer management, team discussions, and financial reporting β all in one modern, real-time dashboard with role-based access control and multi-company support.
Legend: π = Public (no login needed) Β· π = Protected (JWT token required)
Authentication (/api/auth)
Method
Endpoint
Description
Auth
POST
/login
Email + password login
π Public
POST
/signup
Register new user
π Public
POST
/google
Google OAuth login
π Public
POST
/facebook
Facebook OAuth login
π Public
POST
/complete-signup
Complete social signup
π Public
POST
/send-otp
Send OTP to email
π Public
POST
/verify-otp
Verify email OTP
π Public
POST
/forgot-password
Send password reset OTP
π Public
POST
/reset-password
Reset password with OTP
π Public
Products (/api/products)
Method
Endpoint
Description
Auth
GET
/
List all products
π Protected
POST
/
Create a product
π Protected
PUT
/:id
Update a product
π Protected
DELETE
/:id
Delete a product
π Protected
Sales (/api/sales)
Method
Endpoint
Description
Auth
GET
/
List all sales
π Protected
POST
/
Record a new sale
π Protected
GET
/:id
Get sale details
π Protected
Customers (/api/customers)
Method
Endpoint
Description
Auth
GET
/
List all customers
π Protected
POST
/
Add a customer
π Protected
PUT
/:id
Update customer info
π Protected
DELETE
/:id
Remove a customer
π Protected
Expenses (/api/expenses)
Method
Endpoint
Description
Auth
GET
/
List all expenses
π Protected
POST
/
Log an expense
π Protected
DELETE
/:id
Delete an expense
π Protected
Reports (/api/reports)
Method
Endpoint
Description
Auth
GET
/sales
Sales report with filters
π Protected
GET
/expenses
Expense report
π Protected
GET
/dashboard
Dashboard summary stats
π Protected
Discussions (/api/discussions)
Method
Endpoint
Description
Auth
GET
/
List discussions
π Protected
POST
/
Create a discussion
π Protected
GET
/:id
Get discussion + comments
π Protected
POST
/:id/comment
Add comment (real-time)
π Protected
Other Endpoints
Module
Base Path
Endpoints
Users
/api/user
CRUD, role management, attendance
Notifications
/api/notifications
List, mark read, product status
Inventory Fields
/api/inventory
Custom field schema management
Settings
/api/settings
Company settings configuration
ποΈ Database Schema
erDiagram
Company ||--o{ User : has
Company ||--o{ Product : owns
Company ||--o{ Sale : records
Company ||--o{ Expense : tracks
Company ||--o{ Customer : manages
Company ||--o{ Discussion : hosts
Company ||--o{ CompanySettings : configures
User ||--o{ Attendance : logs
User ||--o{ Sale : creates
User ||--o{ Notification : receives
Sale ||--o{ Product : contains
Sale ||--o{ Customer : "sold to"
Discussion ||--o{ User : "commented by"