How vaibhavkale123/e-commerce_app works
Project type and purpose
• This is a full-stack e-commerce web application.
• Backend: Spring Boot REST API (“Backend/online-shopping”).
• Frontend: React.js single-page application (“Frontend/online-shopping”).
• Database: MySQL for persisting users, products, orders, etc.
File structure
• Top-level directories:
• Backend/online-shopping – standard Maven project with controllers, services, DAOs, models, DTOs, utilities and application entry point.
• Frontend/online-shopping – React app with pages/, productComponent/, userComponent/, public/ and src/.
• Backend layering follows typical Spring Boot MVC:
• Controllers (REST endpoints)
• Service interfaces & implementations
• DAO layer (data access)
• Model/entities (JPA)
• DTOs (request/response objects)
• Frontend organizes UI by pages (routes) and reusable components for products and users.
README for additional insights
• Technologies: Spring Boot, React.js, MySQL.
• Features: admin product/category management, user registration & ordering, delivery assignment.
• Workflow: React UI → HTTP calls to Spring Boot REST → MySQL.