This project is a full-stack e-commerce web application developed as part of the CSE 214 Advanced Application Development course. The application consists of an Angular frontend, a Spring Boot backend, and a MySQL database.
- Frontend: Angular 19, TypeScript, HTML, CSS
- Backend: Spring Boot 3, Java 17, Spring Security, JWT, Stripe API
- Database: MySQL
- Authentication: JSON Web Token (JWT)
- Version Control: Git & GitHub
- Register and log in
- Browse and search for products
- Add products to cart
- Checkout with delivery address
- Stripe test payment integration
- Order tracking and order history
- Leave product reviews and ratings
- Admin dashboard
- Add/edit/delete products
- View/manage users
- Manage orders and update statuses
- Add/manage own products
- View orders for their own products
Angular Frontend
↕️ REST API
Spring Boot Backend
↕️
MySQL Database
e-commerce-project-final_version/
├── backend/ # Spring Boot application
├── frontend/ # Angular application
├── diagrams/ # Contains architectural diagrams
└── README.md
This diagram illustrates the main classes, repositories, services, and controllers in the Spring Boot backend. It shows the flow of entities such as User, Product, Order, and Review, and their relations through repositories and services.
This diagram visualizes the structure of the Angular application, showing the relationships between components, services, and modules. It reflects a modular and well-organized approach.
This diagram depicts the relational structure of the MySQL database used in the application. Key tables include:
usersproductsordersorder_itemscart_itemsreviews
cd backend
./mvnw spring-boot:runMake sure you have MySQL running and application properties configured properly.
cd frontend
npm install
ng serveProject Repository:
https://github.com/cemerdemir-0/e-commerce-project-final_version
Make sure the repository is public for grading.
- All diagrams are placed under the
/diagramsdirectory. - JWT token is stored in
localStorageafter authentication. - Stripe test cards are available at https://stripe.com/docs/testing
"# e-commerceproject"


