Commit History

perf: configure GORM logger slow threshold to 1500ms and add database indexes on foreign keys to completely resolve cross-region network latency and sequential scans
25eb4e0

Mhamdans17 commited on

perf: completely avoid SELECT * in DeleteProduct, GetCategory, UpdateCategory, and DeleteCategory handlers by using direct database updates and specific select counts
8afed15

Mhamdans17 commited on

perf: completely avoid SELECT * in CreateProduct and UpdateProduct by selecting Category directly instead of First product load
4ffd896

Mhamdans17 commited on

feat: auto-generate unique SKU when blank during product creation to match Python FastAPI schema validation behavior
44f1ca9

Mhamdans17 commited on

fix: normalize empty string SKU to nil/NULL to prevent unique key constraint violations on duplicate empty SKUs
59cc420

Mhamdans17 commited on

fix: correct parameter order in cloudinary.NewFromParams to resolve image upload failure
aff35bf

Mhamdans17 commited on

perf: optimize Login GORM query with select-specific-columns, specific preloads, and remove the redundant First(company) query
46976cd

Mhamdans17 commited on

fix: remove default:true GORM tags from IsActive fields to allow explicitly setting them to false during registration
e79019b

Mhamdans17 commited on

perf: optimize DailyReport GORM query with select-specific-columns to avoid SELECT *
0c807ba

Mhamdans17 commited on

perf: optimize ListProducts, ListCategories, and ListOrders GORM queries with select-specific-columns and custom nested preload column selects
d3525b4

Mhamdans17 commited on

perf: completely fix N+1 query problem and select * in ListCompanies, ListBranches, and GetCurrentUser middleware
4a28cd8

Mhamdans17 commited on

perf: optimize ListUsers and ListCompanies with database-level pagination and search
97344b4

Mhamdans17 commited on

perf: optimize ListProducts using database-level pagination, search, and branch filtering
6c773a6

Mhamdans17 commited on

feat: add company_address to tenant registration request payload
f168cd0

Mhamdans17 commited on

fix: initialize empty slices instead of returning nil (null) to prevent frontend crashes
e76e0a5

Mhamdans17 commited on

fix: use latest golang:alpine to support Go 1.26.3
12c85ed

Mhamdans17 commited on

chore: add Hugging Face spaces metadata to README.md
ccb1860

Mhamdans17 commited on

feat: migrate warungpos backend to Go with Tripay
edcf070

Mhamdans17 commited on