How ironcpp/shopnow works
This is a Spring Boot shopping-site starter. The visible customer flow maps HTTP routes to home, authentication, product-listing, and product-detail views; the admin controller maps management routes to dashboard, product-entry, and category views. The README also advertises search/filtering, secure login, and admin inventory management, but the sampled implementation is mostly view routing, with no demonstrated cart, product, or authentication services. The map preserves documented capabilities while distinguishing them from verified behavior; unsampled templates and configuration limit what can be asserted about their internals.
Main entry points: templates Storefront pages · HomeController.java Storefront routes · AdminController.java Admin routes · admin Admin pages
Components 10
Customer storefront
- Storefront routes
src/main/java/com/ecom/controller/HomeController.java - Storefront pages
src/main/resources/templates - Static assets
src/main/resources/static
Admin management
- Admin routes
src/main/java/com/ecom/controller/AdminController.java - Admin pages
src/main/resources/templates/admin
Domain and runtime
- Category entity
src/main/java/com/ecom/model/Category.java - Category repository
src/main/java/com/ecom/repository/CategoryRepository.java - Spring Boot entry
src/main/java/com/ecom/ShoppingCartApplication.java
Other components
- Shopper
- Administrator
Connections 9
- Shopper → Storefront routes: requests pages
src/main/java/com/ecom/controller/HomeController.java - Storefront routes → Storefront pages: returns views
src/main/java/com/ecom/controller/HomeController.java - Administrator → Admin routes: requests pages
src/main/java/com/ecom/controller/AdminController.java - Admin routes → Admin pages: returns views
src/main/java/com/ecom/controller/AdminController.java - Shopper → Storefront pages: searches and filters
README.md - Shopper → Storefront pages: views products
README.md - Shopper → Storefront pages: authenticates
README.md - Administrator → Admin pages: manages inventory
README.md - Spring Boot entry → Storefront routes: starts web app