Commit Graph

5 Commits

Author SHA1 Message Date
delta-lynx-89e8
e72f3133c0 Fix login endpoint leaking sensitive user fields
Use select clause instead of spreading full user object to prevent
resetToken, resetTokenExpiry, and other internal fields from being
returned in the login response.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 12:40:09 -08:00
delta-lynx-89e8
d09c998d51 QA fixes: real listing creation, profile save, favorites, missing pages
- SellItemPage: real file upload + API listing creation + activate
- CreateProfilePage: save profile via PUT /users/profile
- ProductDetailPage: wire edit/delete/message buttons, show edit for owner
- ListingCard: persist favorites via API, show real images
- Footer: connect newsletter subscribe to API
- Router: add /dashboard/listings and /dashboard/saved routes
- Backend: add GET /listings/favorites endpoint
- New pages: MyListingsPage, SavedItemsPage
- Fix unused imports causing build failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 12:30:03 -08:00
delta-lynx-89e8
f2e2338e8f Fix listing activation and chat conversation bugs
- Add POST /listings/:id/activate endpoint to bypass Stripe in dev
- Fix chat conversation creation crash when listingId is null/undefined
- Properly handle Prisma unique constraint for conversations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 07:25:31 -08:00
delta-lynx-89e8
9f399291ee Add deployment docs and fix dotenv loading
- Add deploy/server-info.md with full server access, DB, SSL, nginx info
- Add dotenv dependency for .env file loading on server
- Server running at https://marketplace.173.212.212.157.sslip.io

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 07:18:52 -08:00
delta-lynx-89e8
b37b734c82 Initial marketplace implementation
Full-stack marketplace for buying/selling second-hand items.
React 19 + TypeScript + Tailwind CSS v4 frontend with 17 screens,
Express + Prisma + Socket.io backend, Stripe payments, JWT auth.

Deployed at https://marketplace.173.212.212.157.sslip.io/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 07:00:44 -08:00