How dharshibalasubramaniyam/fullstack-e-commerce-web-application works
Purely is a React e-commerce frontend backed by Spring Boot microservices. The main user journey is browsing and searching products, managing a cart, authenticating, and checking out to an order-success page. The README documents the gateway as the frontend’s sole backend entry point, service discovery, and dedicated MongoDB databases. Frontend routing and the checkout component are visible in the supplied source; most backend internals and inter-service calls are not, so the graph limits those connections to documented architecture relationships.
Main entry points: ApiGatewayApplication.java API gateway · ServiceRegistryApplication.java Service registry · routes.jsx Store routes · services Authentication
Components 16
Customer storefront
- Store routes
frontend/src/routes/routes.jsx - Checkout flow
frontend/src/pages/checkout/checkout.jsx - API configuration
frontend/src/api-service/apiConfig.jsx - Auth state
frontend/src/contexts/auth.context.jsx - Browse and account pages
frontend/src/pages
Request routing
- API gateway
microservice-backend/api-gateway/src/main/java/com/dharshi/apigateway/ApiGatewayApplication.java - Service registry
microservice-backend/service-registry/src/main/java/com/dharshi/serviceregistry/ServiceRegistryApplication.java
Identity and accounts
- Authentication
microservice-backend/auth-service/src/main/java/com/dharshi/authservice/services - User accounts
microservice-backend/user-service/src/main/java/com/dharshi/userservice/services
Product catalog
- Categories
microservice-backend/category-service/src/main/java/com/dharshi/categoryservice/services - Product catalog
microservice-backend/product-service/src/main/java/com/dharshi/productservice/services
Cart and orders
- Shopping cart
microservice-backend/cart-service/src/main/java/com/dharshi/cartservice/services - Order processing
microservice-backend/order-service/src/main/java/com/dharshi/orderservice/services - Email notifications
microservice-backend/notification-service/src/main/java/com/dharshi/notificationservice/services
Other components
- Shopper
- MongoDB databases
Connections 26
- Shopper → Store routes: browses
README.md - Store routes → Browse and account pages: routes to
frontend/src/routes/routes.jsx - Store routes → Checkout flow: routes to
frontend/src/routes/routes.jsx - Checkout flow → API configuration: uses API config
- Browse and account pages → API configuration: calls backend
- API configuration → API gateway: sends requests
README.md - API gateway → Authentication: routes requests
README.md - API gateway → User accounts: routes requests
- API gateway → Categories: routes requests
README.md - API gateway → Product catalog: routes requests
- API gateway → Shopping cart: routes requests
- API gateway → Order processing: routes requests
- API gateway → Email notifications: routes requests
- Authentication → Service registry: registers with
README.md - User accounts → Service registry: registers with
README.md - Categories → Service registry: registers with
README.md - Product catalog → Service registry: registers with
README.md - Shopping cart → Service registry: registers with
README.md - Order processing → Service registry: registers with
README.md - Email notifications → Service registry: registers with
README.md - Authentication → MongoDB databases: persists data
README.md - User accounts → MongoDB databases: persists data
README.md - Categories → MongoDB databases: persists data
README.md - Product catalog → MongoDB databases: persists data
README.md - Shopping cart → MongoDB databases: persists data
README.md - Order processing → MongoDB databases: persists data
README.md