https://github.com/sumanthreddy0127/e-commerce-api
A REST-Full Web Services APIs for an Online Shopping App Based on Spring Boot. All functionalities of an online shopping app such as login/signup, add to cart, remove from cart and place order are provide which is fully connected with database.
https://github.com/sumanthreddy0127/e-commerce-api
ai-agents ecommerce-api ecommerce-application ecommerece java-8 mysql-database onlineshoppingsystem spring-boot springboot
Last synced: 4 months ago
JSON representation
A REST-Full Web Services APIs for an Online Shopping App Based on Spring Boot. All functionalities of an online shopping app such as login/signup, add to cart, remove from cart and place order are provide which is fully connected with database.
- Host: GitHub
- URL: https://github.com/sumanthreddy0127/e-commerce-api
- Owner: sumanthreddy0127
- Created: 2025-08-22T21:06:54.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-08-22T21:32:14.000Z (5 months ago)
- Last Synced: 2025-08-22T23:57:07.967Z (5 months ago)
- Topics: ai-agents, ecommerce-api, ecommerce-application, ecommerece, java-8, mysql-database, onlineshoppingsystem, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-Commerce-API
## Introduction
A REST-Full Web Services API's for an Online Shopping App based on Spring Boot. All functionalities of an online shopping app such as Login, Signup, Add product, Add to cart, remove from cart and Place order are provide which is fully connected with database.
## Details : ðŸ”
My project performs fundamental operations of an e-commerce website, where our customer's data is validated, mapped, processed with business logic & persisted in the database.
## ER Diagram

## Used Tech Stack & Tools:
- Java
- Spring
- Spring Boot
- Spring Data JPA
- Hibernate
- Lombok
- MySQL
- Postman
- Swagger UI
[]()
## Modules
1. Login Module
2. Customer Module
3. Order Module
4. Bill Module
5. Product Module
6. Cart Module
## Installation & Run
1. clone our Project into your local machine.
- open any terminal
- git clone `https://github.com/sumanthreddy0127/E-Commerce-API.git`
2. Open Your STS
3. Goto File -> Import -> Select Maven -> Choose Existing Maven -> Click on browse -> Choose the project location -> Select the project -> Finish
4. All done, good to go!
* Before running the API server, you should update the database config inside the [application.properties](https://github.com/sumanthreddy0127/E-Commerce-API/blob/master/src/main/resources/application.properties) file.
* Update the port number, username and password as per your local database config.
* Run your application and hit this url on browser - `http://localhost:8888/swagger-ui/`
```
#db specific properties
server.port=8888
spring.datasource.url=jdbc:mysql://localhost:3306/online_shopping_db;
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username="Your SQL username"
spring.datasource.password="Your SQL Password"
#ORM s/w specific properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
#validation exception activate
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false
#enable swagger
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER
```