How phegondev/ecommerce-springboot works
Project type and purpose
• This is a full-stack e-commerce platform offering two alternative frontends (Angular and React) that consume a common Spring Boot REST API backend.
• The README confirms it’s an “Ecommerce Platform,” and the file tree shows “angular/”, “react/” and “backend/” modules.
File structure
• Top-level directories:
• angular/ — Angular SPA (app/, services, routing, components for products, cart, admin, etc.)
• react/ — React SPA (components/, context/, pages/, services/)
• backend/ — Spring Boot service (controller, service, repository, entity, security)
• The root folder also has mvnw, pom.xml, indicating a Maven multi-module project.
• backend/src/main/java/...
• controller/: REST Controllers
• dto/, entity/, mapper/: data mapping
• repository/: JPA Repos
• service/ + impl/: business logic
• security/: JWT filter, user details, CORS config
• Tests mirror the main code structure under backend/src/test.
• No direct DB schema folder—DB config lives in application.properties.
• There is an AWS S3 service for media storage (backend/service/AwsS3Service.java).
README for additional insights
• The README only shows a screenshot, but the instruction “checkout the branch corresponding to the technology” implies both frontends are intended to be interchangeable clients to the same API.