Skip to content

Conversation

@ADARSHsri2004
Copy link
Contributor

Description

This pull request introduces the full CRUD (Create, Read, Update, Delete) functionality for the Product entity.

It adds the following API endpoints:

  • POST /api/products: Creates a new product.
  • GET /api/products: Retrieves a list of all products.
  • GET /api/products/{id}: Retrieves a single product by its ID.
  • PUT /api/products/{id}: Updates an existing product.
  • DELETE /api/products/{id}: Deletes a product by its ID.

This also includes necessary service-layer logic, repository updates, and DTOs (Data Transfer Objects) for handling the product data.

Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

Checklist

Copy link
Member

@04shubham7 04shubham7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Work

@04shubham7 04shubham7 merged commit cae9209 into OPCODE-Open-Spring-Fest:main Oct 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Create CRUD API endpoints for product listings (backend)

2 participants