How hoangluu18/pbl5 works
Project Type and Purpose
• This is a full‐stack application with both backend (Java, Maven based) and frontend (Typescript/Vite based) components.
• The backend appears to support e-commerce-like operations (with entities like Customer, Order, CartItems, Product, Review, etc.) and is segmented into a “Common” module plus two separate modules (BE_Admin and BE_Client) for administrative and client operations.
• The front end is similarly split into FE_Admin and FE_Client, likely corresponding to separate user interfaces for admins and regular users.
• Additionally, the “Api” directory contains API documentation (e.g., ShippingCostAPI.md, VietnamGeographicAPI.md) which suggests external or internal API integrations.
Analyzing the File Structure
• Top-level directories clearly separate concerns: BE for back end, FE for front end, and an “Api” folder for API documentation.
• Under BE, the “Common” project contains shared entities and configurations that are used across the BE modules. It includes key domain models (Address, Order, Product, etc.) and resources (such as application.properties).
• The BE/WebParent folder is organized into two main submodules: BE_Admin (for admin-specific controllers and endpoints) and BE_Client (for end-user/client-specific functionality). Each of these modules has its own pom.xml, source code, tests, and configuration.
• The FE directory mirrors the BE split by having two separate front-end projects for admin and client sides. Each uses a modern stack with TypeScript, Vite, and possibly ESLint configuration.
• Build, configuration, and dependency management files (like pom.xml, package.json, tsconfig files, etc.) are scattered in their respective modules, indicating modular design.