How zelofane22/collector.shop works
Collector.shop appears to be an administrative commerce application: users manage products, orders, and payments through an Angular frontend, with a gateway and separate Spring services. The source tree supports these product areas, authentication and authorization components, and service-side persistence layers. The supplied excerpts are empty and the README documents no architecture, so runtime links between frontend, gateway, and services are shown only as unverified dashed relationships; no specific database or identity provider is asserted.
Main entry points: GatewayApplication.java Request gateway · app.component.ts Angular application · CommandeService.java Order service · produit-api.service.ts Product API client
Components 19
Web application
- Angular application
frontend/src/app/app.component.ts - Product screens
frontend/src/app/features/produits/liste-produits/liste-produits.component.ts - Product detail
frontend/src/app/features/produits/detail-produit/detail-produit.component.ts - Product API client
frontend/src/app/features/produits/services/produit-api.service.ts - Order screens
frontend/src/app/features/commandes/liste-commandes/liste-commandes.component.ts - Order API client
frontend/src/app/features/commandes/services/commande-api.service.ts - Payment screens
frontend/src/app/features/paiements/liste-paiements/liste-paiements.component.ts - Payment API client
frontend/src/app/features/paiements/services/paiement-api.service.ts
API gateway
- Request gateway
gateway/src/main/java/com/projet/gateway/GatewayApplication.java
Commerce services
- Product service
services/produits/src/main/java/com/projet/produits/service/ProduitService.java - Product repository
services/produits/src/main/java/com/projet/produits/repository/ProduitRepository.java - Order service
services/commandes/src/main/java/com/projet/commandes/service/CommandeService.java - Order repository
services/commandes/src/main/java/com/projet/commandes/repository/CommandeRepository.java - Product client
services/commandes/src/main/java/com/projet/commandes/client/ProduitClient.java - Payment service
services/paiements/src/main/java/com/projet/paiements/service/PaiementService.java - Payment repository
services/paiements/src/main/java/com/projet/paiements/repository/PaiementRepository.java
Access control
- Authentication service
frontend/src/app/core/auth/auth.service.ts - Service security
services/commandes/src/main/java/com/projet/commandes/config/SecurityConfig.java
Other components
- Administrator
Connections 20
- Administrator → Angular application: uses
- Angular application → Product screens: opens
- Angular application → Order screens: opens
- Angular application → Payment screens: opens
- Product screens → Product API client: requests data
- Product detail → Product API client: requests data
- Order screens → Order API client: requests data
- Payment screens → Payment API client: requests data
- Product API client → Request gateway: sends requests
- Order API client → Request gateway: sends requests
- Payment API client → Request gateway: sends requests
- Request gateway → Product service: routes requests
- Request gateway → Order service: routes requests
- Request gateway → Payment service: routes requests
- Product service → Product repository: accesses data
- Order service → Order repository: accesses data
- Order service → Product client: uses client
- Payment service → Payment repository: accesses data
- Authentication service → Request gateway: authenticates
- Request gateway → Service security: enforces access