How sumitkapatkar2709/purelybackend works
PURELY is a health-and-wellness e-commerce application with a React storefront and a Spring microservice backend; the tree also contains a monolithic backend. The principal documented journey is browsing or searching products, managing a cart, checking out, then viewing order status/history and receiving confirmation. Authentication and registration verification, category/product administration, and notifications are additional capabilities. The graph focuses on the documented microservice architecture; the sampled source confirms email/payment implementations, but does not establish all frontend or service-to-service call paths, so uncertain links are omitted.
Main entry points: ApiGatewayApplication.java API gateway · CartController.java Cart and payment · OrderController.java Order management · AuthController.java Authentication
Components 16
Storefront
- React storefront
frontend/src/App.jsx - API clients
frontend/src/api-service
API edge
- API gateway
microservice-backend/api-gateway/src/main/java/com/wellNexa/apigateway/ApiGatewayApplication.java - Service registry
microservice-backend/service-registry/src/main/java/com/wellNexa/serviceregistry/ServiceRegistryApplication.java
Commerce services
- Product catalog
microservice-backend/product-service/src/main/java/com/wellNexa/productservice/controllers/CommonProductController.java - Categories
microservice-backend/category-service/src/main/java/com/wellNexa/categoryservice/controllers/CommonCategoryController.java - Cart and payment
microservice-backend/cart-service/src/main/java/com/wellNexa/cartservice/controllers/CartController.java - Order management
microservice-backend/order-service/src/main/java/com/wellNexa/orderservice/controllers/OrderController.java
Identity services
- Authentication
microservice-backend/auth-service/src/main/java/com/wellNexa/authservice/controllers/AuthController.java - User profiles
microservice-backend/user-service/src/main/java/com/wellNexa/userservice/controllers/UserController.java
Platform integrations
- Email notifications
microservice-backend/notification-service/src/main/java/com/wellNexa/notificationservice/controller/NotificationController.java - MongoDB
Other components
- Shopper
- Email provider
- Stripe checkout
- Monolithic backend
monolithic-backend/src/main/java/com/dharshi/purely/PurelyApplication.java
Connections 20
- Shopper → React storefront: uses
- React storefront → API clients: requests
- API clients → API gateway: calls APIs
- API gateway → Product catalog: routes requests
- API gateway → Categories: routes requests
- API gateway → Cart and payment: routes requests
- API gateway → Order management: routes requests
- API gateway → Authentication: routes requests
- API gateway → User profiles: routes requests
- Product catalog → MongoDB: reads/writes
- Categories → MongoDB: reads/writes
- Cart and payment → MongoDB: reads/writes
- Order management → MongoDB: reads/writes
- Authentication → MongoDB: reads/writes
- User profiles → MongoDB: reads/writes
- API gateway → Service registry: discovers services
- Authentication → Email notifications: sends verification
- Order management → Email notifications: sends confirmation
- Email notifications → Email provider: sends mail
- Cart and payment → Stripe checkout: creates sessions