Scott Scoble
|
5000d89ec3
|
feat: MVP completion — product DB expansion (50 items), feedback-driven weight tuning, user auth
- Added 24 new products across 7 categories (Shoes, Accessories, Dresses, Bottoms, Tops, Outerwear, Undergarments)
- Expanded color coverage: Green, Red, Purple, Yellow, Orange, Brown, Gold
- Implemented feedback-driven matching algorithm weight tuning
- Analyzes kept vs not-kept feedback when 10+ submissions exist
- Blends default weights with learned signals (max 50% shift)
- Returns tunedWeights in response when model is active
- Added user authentication (email+password, PBKDF2 hashing):
- POST /api/auth/signup — register + auto-login
- POST /api/auth/login — authenticate + return token
- POST /api/auth/logout — revoke token
- authenticate middleware on /api/profile, /api/box, /api/feedback
- Profile fetch enforces owner-only access
- Frontend passes Bearer token on authenticated requests
- 401 response redirects to login flow
- Fixed duplicate AFFILIATE_ID declaration
|
2026-05-03 00:19:20 -07:00 |
|