lokesh-bisht / catalog-service-ecommerce Goto Github PK
View Code? Open in Web Editor NEWCatalog-service for E-commerce.
Catalog-service for E-commerce.
/catalog_service/v1/product/{id}
A user can create multiple feedbacks for a product.
Expected: Limit the user to only one feedback per product.
/catalog_service/v1/product/{id}
ProductID is a primary key. So, there should only be one product for a productID.
Actual: User is able to create multiple products with the same productID.
Expected: Block user from creating a product if a product with the given productID already exists.
/catalog_service/v1/brand/{id}
/catalog_service/v1/product
POST /catalog_service/v1/brand/bulk
/catalog_service/v1/feedback/product/{productId}
created_at and created_by are getting overridden on updating a product.
Actual: created_at and created_by for a product are coming as null on updating a product due to override.
Expected: Avoid overriding created_at and created_by.
/catalog_service/v1/feedback/product/{productId}
/catalog_service/v1/category
/catalog_service/v1/brand/{id}
POST /catalog_service/v1/product/search?query="queryString"&size="pageSize"&page="currentPage"
Filters:
/catalog_service/v1/brand/category/{category_id}
/catalog_service/v1/category/{id}
/catalog_service/v1/category/all
API requests with an invalid request body are returning incorrect HTTP status codes with incorrect exceptions.
Expected: API requests with the incorrect body or missing properties should return "Bad Request" with proper validation errors.
POST /catalog_service/v1/product/bulk
/catalog_service/v1/category/{id}
/catalog_service/v1/feedback/product/{productId}?user_id={userId}
/catalog_service/v1/brand
/catalog_service/v1/product/{id}
/catalog_service/v1/feedback/product/{productId}
/catalog_service/v1/brand/{id}
POST /catalog_service/v1/category/bulk
/catalog_service/v1/category/{id}
POST /catalog_service/v1/brand/search?query="queryString"&size="pageSize"&page="currentPage"
Filters:
PATCH: /catalog_service/v1/product/{id}
Actual: Search results are only sorted in ascending order.
Expected: Search results should be sorted in ascending or descending order depending on sort order selected by the user.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.