Skip to content

2. Product Catalog 2.1. Browsing: Users should be able to browse products by different categories. 2.2. Product Details: Detailed product pages with product images, descriptions, specifications, and other relevant information. 2.3. Search: Users must be able to search for products using keywords.

Notifications You must be signed in to change notification settings

alaminskofficial/ProductService-LLD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Management System

The Ecommerce Products and Services program is designed to provide a robust and scalable solution for managing products in online marketplaces. This service enables key operations such as listing, adding, editing, and deleting products. It ensures seamless integration with existing ecommerce platforms. with automated and streamlined product management This project addresses critical needs for operational efficiency. Better accuracy and faster product deployment in the competitive e-commerce sector.

This is a product management system built using Java, SQL,NoSQL Spring Boot and Maven.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Java 8 or higher
  • Maven
  • SQL ,NoSQL database

Installing

  1. Clone the repository
git clone https://github.com/alaminskofficial/ProductService-LLD.git

api postman collection link :

https://api.postman.com/collections/33330094-f3166d77-7483-4ab3-9038-a460016d2a93?access_key=PMAT-01HX1KY257FWSGSJ7BVSASDRQF
  1. Navigate to the project directory
cd product-management-system

3.install the maven dependencies

mvn clean install
  1. Run the application
mvn spring-boot:run
  1. The application will be accessible at http://localhost:8080

API Endpoints

The application provides the following endpoints:

GET /product: Test endpoint, returns a greeting from the product service.

GET /getproducts?pageNo={pageNo}&pageSize={pageSize}: Returns a paginated list of products sorted by price.

GET /products: Returns a list of all products whose name starts with "S".

GET /products/search?name={name}: Returns a product with the given name.

GET /product/{id}: Returns a single product with the given ID.

GET /products/categories: Returns a list of all product categories.

GET /products/category/{id}: Returns a list of all products in the given category.

POST /products: Adds a new product.

GET /products/{productId}/reviews : to retrieve reviews for a product

POST /products/{productId}/reviews : add a review with image upload Using MongoDB GridFS

GET /image/{fileId} : to download the review image

Built With Java Spring Boot Maven SQL Postman

Authors

Sk Alamin

About

2. Product Catalog 2.1. Browsing: Users should be able to browse products by different categories. 2.2. Product Details: Detailed product pages with product images, descriptions, specifications, and other relevant information. 2.3. Search: Users must be able to search for products using keywords.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages