How davity333/frontend_lambi works
FrontendLambi is an Angular marketplace for buyers and sellers of local stands. Buyers enter through role selection or authentication, discover stands and products, manage favorites and a cart, and submit an order; sellers register or sign in, create stands, manage products, and review sales. The sampled code confirms routing, authentication, search/favorites, product operations, and order submission. Several other feature areas are visible only in the tree, so their internal interactions are not inferred.
Main entry points: app-routing.module.ts App routes · users.service.ts User service · payment.component.ts Checkout · category.service.ts Search and favorites
Components 28
App entry
- App routes
src/app/app-routing.module.ts - App module
src/app/app.module.ts
Identity
- Role selection
src/app/Pages/user-option/components/rol/rol.component.ts - Buyer auth
src/app/Pages/login/login.component.ts - Seller auth
src/app/Pages/loginSeller/components/login-seller/login-seller.component.ts - Registration
src/app/Pages/register/register.component.ts - Seller registration
src/app/Pages/registerSeller/components/register-seller/register-seller.component.ts - User service
src/app/Pages/Auth/users.service.ts
Buyer discovery
- Stand search
src/app/Pages/busqueda/busqueda.component.ts - Search and favorites
src/app/Pages/busqueda/services/category.service.ts - Favorites
src/app/Pages/favorites/favorites.component.ts - Stand browsing
src/app/Pages/negocios/negocios.component.ts - Product browsing
src/app/Pages/products/products.component.ts - Stand details
src/app/Pages/viewstand/components/viewstand/viewstand.component.ts
Commerce
- Cart
src/app/Pages/gestion-productos/service/products.service.ts - Checkout
src/app/Pages/payment/payment.component.ts - Sell request
src/app/Pages/payment/models/sell-request.ts - Payment service
src/app/Pages/payment/services/payment.service.ts - Buyer messaging
src/app/Pages/sendMessage/send-message/send-message.component.ts
Seller tools
- Stand creation
src/app/Pages/agregar-puesto/agregar-puesto.component.ts - Stand operations
src/app/Pages/agregar-puesto/Services/puesto.service.ts - Product management
src/app/Pages/gestion-productos/gestion-productos.component.ts - Product editor
src/app/Pages/gestion-productos/Components/modal-product/modal-product.component.ts - Product service
src/app/Pages/gestion-productos/service/products.service.ts - Sales and stands
src/app/Pages/negocios/services/stand-by-client.service.ts
Other components
- Buyer
- Seller
- Marketplace API
Connections 36
- Buyer → App routes: navigates
src/app/app-routing.module.ts - Seller → App routes: navigates
src/app/app-routing.module.ts - App routes → Role selection: routes to
src/app/app-routing.module.ts - App routes → Buyer auth: routes to
src/app/app-routing.module.ts - App routes → Seller auth: routes to
src/app/app-routing.module.ts - App routes → Registration: routes to
src/app/app-routing.module.ts - App routes → Seller registration: routes to
src/app/app-routing.module.ts - App routes → Stand search: routes to
src/app/app-routing.module.ts - App routes → Favorites: routes to
src/app/app-routing.module.ts - App routes → Stand browsing: routes to
src/app/app-routing.module.ts - App routes → Product browsing: routes to
src/app/app-routing.module.ts - App routes → Stand creation: routes to
src/app/app-routing.module.ts - App routes → Product management: routes to
src/app/app-routing.module.ts - App routes → Stand details: routes to
src/app/app-routing.module.ts - App routes → Checkout: routes to
src/app/app-routing.module.ts - App routes → Buyer messaging: routes to
src/app/app-routing.module.ts - App module → App routes: imports
src/app/app.module.ts - Buyer auth → User service: authenticates
src/app/Pages/login/login.component.ts - Seller auth → User service: authenticates
src/app/Pages/loginSeller/components/login-seller/login-seller.component.ts - Registration → User service: registers
src/app/Pages/register/register.component.ts - Seller registration → User service: registers
src/app/Pages/registerSeller/components/register-seller/register-seller.component.ts - User service → Marketplace API: requests
src/app/Pages/Auth/users.service.ts - Stand search → Search and favorites: searches
src/app/Pages/busqueda/busqueda.component.ts - Favorites → Search and favorites: loads favorites
src/app/Pages/favorites/favorites.component.ts - Stand browsing → Search and favorites: loads categories
- Search and favorites → Marketplace API: requests
src/app/Pages/busqueda/services/category.service.ts - Product editor → Product service: manages products
src/app/Pages/gestion-productos/Components/modal-product/modal-product.component.ts - Product management → Product editor: uses editor
- Product service → Marketplace API: requests
src/app/Pages/gestion-productos/service/products.service.ts - Stand creation → Stand operations: uses
- Stand operations → Marketplace API: requests
src/app/Pages/agregar-puesto/Services/puesto.service.ts - Checkout → Product service: reads cart
src/app/Pages/payment/payment.component.ts - Checkout → Sales and stands: submits sale
src/app/Pages/payment/payment.component.ts - Checkout → Sell request: builds request
src/app/Pages/payment/payment.component.ts - Sales and stands → Marketplace API: requests
src/app/Pages/negocios/services/stand-by-client.service.ts - Buyer → Cart: adds items