View Code? Open in Web Editor
NEW
Catalog-service for E-commerce.
catalog-service-ecommerce's Introduction
๐ Hi, Iโm Lokesh Bisht
๐ At present my interest lies in building scalable backend systems.
I'm polyglot -> C++, Java, TypeScript, Kotlin, Python
๐ฑ Tech Stack:
Java, Spring Boot, Vert.x
Databases -> Postgres, MongoDB, Redis
Caching -> Redis, Jedis, Redisson
Messaging -> Apache Kafka
Node.js Backend ---> TypeScript, Node.js, Express, Sequelize ORM
๐๏ธ Iโm looking to collaborate on repos related to backend development, and multithreaded server-client architecture.
๐ซ How to reach me -> [email protected]
catalog-service-ecommerce's People
Contributors
Watchers
catalog-service-ecommerce's Issues
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.
/catalog_service/v1/category/{id}
/catalog_service/v1/product/{id}
/catalog_service/v1/product/{id}
/catalog_service/v1/feedback/product/{productId}
/catalog_service/v1/brand/{id}
/catalog_service/v1/product/{id}
POST /catalog_service/v1/product/search?query="queryString"&size="pageSize"&page="currentPage"
Filters:
BrandId
CategoryId
Price Range
/catalog_service/v1/brand/category/{category_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.
Description
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}
POST /catalog_service/v1/product/bulk
/catalog_service/v1/brand/{id}
/catalog_service/v1/feedback/product/{productId}
/catalog_service/v1/category
POST /catalog_service/v1/brand/search?query="queryString"&size="pageSize"&page="currentPage"
Filters:
/catalog_service/v1/category/{id}
/catalog_service/v1/category/all
/catalog_service/v1/category/{id}
POST /catalog_service/v1/category/bulk
/catalog_service/v1/feedback/product/{productId}?user_id={userId}
Description
A user can create multiple feedbacks for a product.
Expected: Limit the user to only one feedback per product.
/catalog_service/v1/brand
/catalog_service/v1/product
PATCH: /catalog_service/v1/product/{id}
POST /catalog_service/v1/brand/bulk
Description
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}