How truong-2005/animeshop works
AnimeShop is a microservices-based anime shop. The tree indicates a user-facing gateway, authentication, product and content management, and order handling, with service discovery supporting the backend. The likely user journey is to enter through the gateway, browse the catalog, and place an order; however, the supplied README and source excerpts do not document or show those runtime connections. The graph therefore identifies the product stages and their implementation areas without asserting unsupported calls or data flows.
Components 21
Entry and identity
- API gateway
anime-shop-microservices/api-gateway/src/main/java/com/example/apigateway/config/GatewayConfig.java - JWT filter
anime-shop-microservices/api-gateway/src/main/java/com/example/apigateway/filter/JwtGatewayFilter.java - Authentication API
anime-shop-microservices/auth-service/src/main/java/com/example/authservice/controller/AuthController.java - Auth service
anime-shop-microservices/auth-service/src/main/java/com/example/authservice/service/AuthService.java - JWT service
anime-shop-microservices/auth-service/src/main/java/com/example/authservice/security/JwtService.java - User repository
anime-shop-microservices/auth-service/src/main/java/com/example/authservice/repository/UserRepository.java
Shop operations
- Product API
anime-shop-microservices/catalog-service/src/main/java/com/example/catalogservice/controller/ProductController.java - Product service
anime-shop-microservices/catalog-service/src/main/java/com/example/catalogservice/service/ProductService.java - Category products
anime-shop-microservices/catalog-service/src/main/java/com/example/catalogservice/controller/CategoryProductController.java - Banner API
anime-shop-microservices/catalog-service/src/main/java/com/example/catalogservice/controller/BannerController.java - Catalog images
anime-shop-microservices/catalog-service/src/main/java/com/example/catalogservice/service/ImageStorageService.java - Order API
anime-shop-microservices/order-service/src/main/java/com/example/orderservice/controller/OrderController.java - Order details
anime-shop-microservices/order-service/src/main/java/com/example/orderservice/controller/OrderDetailController.java - Order service
anime-shop-microservices/order-service/src/main/java/com/example/orderservice/service/OrderService.java - Product client
anime-shop-microservices/order-service/src/main/java/com/example/orderservice/client/ProductClient.java
Storefront content
- Content categories
anime-shop-microservices/content-service/src/main/java/com/example/contentservice/controller/CategoryController.java - Posts
anime-shop-microservices/content-service/src/main/java/com/example/contentservice/controller/PostController.java - Post service
anime-shop-microservices/content-service/src/main/java/com/example/contentservice/service/PostService.java - Content images
anime-shop-microservices/content-service/src/main/java/com/example/contentservice/service/ImageStorageService.java
Service platform
- Service discovery
anime-shop-microservices/discovery-server/src/main/java/com/example/discoveryserver/DiscoveryServerApplication.java
Other components
- Shopper