How ismailharik/-multi-universe-ecommerce-platform works
NobleSense is a multi-role ecommerce platform: customers browse products, manage a cart, check out and track orders, while administrators manage catalog and customer activity. The repository has three Angular/Spring parts: storefront, admin dashboard, and API. The excerpts directly establish shop routing, review endpoints, JWT handling and dashboard authentication; the README documents broader commerce capabilities. Many backend controllers, client components and service implementations are only present in the tree, so their internal calls are not asserted.
Main entry points: controllers REST API · app/app.module.ts Storefront app · app/app.module.ts Dashboard app · AuthenticationService.java Authentication service
Components 23
Customer storefront
- Storefront app
noble-sense-client/src/app/app.module.ts - Shop routes
noble-sense-client/src/app/shop/shop-routing.module.ts - Catalog and cart
noble-sense-client/src/app/shop/pages - Checkout and profile
noble-sense-client/src/app/pages - Shared UI and services
noble-sense-client/src/app/shared
Admin dashboard
- Dashboard app
noble-sense-dashboard/src/app/app.module.ts - Admin routes
noble-sense-dashboard/src/app/pages/pages-routing.module.ts - Management screens
noble-sense-dashboard/src/app/pages - Dashboard authentication
noble-sense-dashboard/src/app/pages/authentication/services/authentication.service.ts
Commerce API
- REST API
noble-sense-backend/src/main/java/com/noblesense/noblesense/controllers - Review endpoints
noble-sense-backend/src/main/java/com/noblesense/noblesense/controllers/ReviewController.java - Review operations
noble-sense-backend/src/main/java/com/noblesense/noblesense/services/ReviewService.java - Commerce services
noble-sense-backend/src/main/java/com/noblesense/noblesense/services
Identity and security
- Auth endpoints
noble-sense-backend/src/main/java/com/noblesense/noblesense/controllers/AuthenticationController.java - Authentication service
noble-sense-backend/src/main/java/com/noblesense/noblesense/services/AuthenticationService.java - JWT service
noble-sense-backend/src/main/java/com/noblesense/noblesense/config/JwtService.java
Persistence
- Commerce entities
noble-sense-backend/src/main/java/com/noblesense/noblesense/entities - User and token
noble-sense-backend/src/main/java/com/noblesense/noblesense/entities/User.java - JPA repositories
noble-sense-backend/src/main/java/com/noblesense/noblesense/repositories - MySQL database
Other components
- Customer
- Administrator
- AWS S3
Connections 24
- Customer → Storefront app: uses
- Storefront app → Shop routes: loads
noble-sense-client/src/app/app.module.ts - Shop routes → Catalog and cart: routes to
noble-sense-client/src/app/shop/shop-routing.module.ts - Customer → Checkout and profile: uses
- Catalog and cart → Shared UI and services: uses
- Administrator → Dashboard app: uses
- Dashboard app → Admin routes: loads
noble-sense-dashboard/src/app/app.module.ts - Admin routes → Management screens: routes to
noble-sense-dashboard/src/app/pages/pages-routing.module.ts - Dashboard app → Dashboard authentication: provides
noble-sense-dashboard/src/app/app.module.ts - Dashboard authentication → Auth endpoints: HTTP requests
- Storefront app → REST API: HTTP requests
- Management screens → REST API: HTTP requests
- REST API → Auth endpoints: routes to
- Auth endpoints → Authentication service: delegates to
- Authentication service → JWT service: generates tokens
noble-sense-backend/src/main/java/com/noblesense/noblesense/services/AuthenticationService.java - Authentication service → User and token: creates user
noble-sense-backend/src/main/java/com/noblesense/noblesense/services/AuthenticationService.java - REST API → Review endpoints: routes to
- Review endpoints → Review operations: delegates to
noble-sense-backend/src/main/java/com/noblesense/noblesense/controllers/ReviewController.java - Review operations → Commerce services: implemented by
- Commerce services → JPA repositories: reads and writes
noble-sense-backend/src/main/java/com/noblesense/noblesense/services/AuthenticationService.java - JPA repositories → MySQL database: persists
- Commerce entities → MySQL database: mapped by ORM
- User and token → JPA repositories: queried by
noble-sense-backend/src/main/java/com/noblesense/noblesense/repositories/TokenRepository.java - REST API → AWS S3: stores media