How amishahingorani10-art/thriftbuy works
ThriftBuy is a React marketplace frontend for browsing local second-hand listings, filtering and viewing products, and entering seller contact or listing forms. The main buyer flow runs from navigation or the home page through search, listing cards, and product detail. The supplied listing API is mock data; signup, login, publishing, and seller messaging currently handle submissions locally. The README is empty, so this map reflects the routes and sampled source rather than undocumented capabilities.
Main entry points: App.js Route App · Home.jsx Home Page · Search.jsx Search Page · Navbar.jsx Navigation Bar
Components 11
Browse Listings
- Home Page
frontend/src/pages/Home.jsx - Search Page
frontend/src/pages/Search.jsx - Listing Card
frontend/src/components/ListingCard.jsx - Mock Listings API
frontend/src/api/listings.js
Listing Actions
- Product Detail
frontend/src/pages/ProductDetail.jsx - Sell Listing
frontend/src/pages/Sell.jsx
Navigation and Access
- Route App
frontend/src/App.js - Navigation Bar
frontend/src/components/Navbar.jsx - Login Form
frontend/src/pages/Login.jsx - Signup Form
frontend/src/pages/Signup.jsx
Other components
- Marketplace User
Connections 19
- Marketplace User → Route App: opens
- Route App → Navigation Bar: renders
- Route App → Home Page: routes
- Route App → Search Page: routes
- Route App → Product Detail: routes
- Route App → Sell Listing: routes
- Route App → Login Form: routes
- Route App → Signup Form: routes
- Navigation Bar → Search Page: navigates
- Navigation Bar → Sell Listing: navigates
- Navigation Bar → Login Form: navigates
- Home Page → Search Page: opens category
- Home Page → Sell Listing: opens form
- Home Page → Mock Listings API: loads listings
- Search Page → Mock Listings API: loads listings
- Home Page → Listing Card: renders listings
- Search Page → Listing Card: renders matches
- Listing Card → Product Detail: opens product
- Product Detail → Mock Listings API: loads listing