Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get single product #149

Closed
wants to merge 4 commits into from

Conversation

michaelcosj
Copy link

Description

Implements an endpoint GET /api/v1/products/{product-id} that fetches product details.

Related Issue (Link to Github issue)

closes #120

How Has This Been Tested?

It has been tested using golang's testing tool.

Screenshots (if appropriate - Postman, etc):

​Success Response

Screenshot_20240725_023350

Invalid product ID response

Screenshot_20240725_020925

Product not found response

Screenshot_20240725_020944

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (added ID field to CreateProduct response)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Cyberguru1
Copy link
Contributor

@michaelcosj you have some conflicts, pull from the dev branch again

@urizennnn
Copy link
Contributor

@michaelcosj who assigned you to this task

@michaelcosj
Copy link
Author

@michaelcosj who assigned you to this task

You

@urizennnn
Copy link
Contributor

@michaelcosj who assigned you to this task

You

oh you are garlic?
ok

@michaelcosj
Copy link
Author

@michaelcosj who assigned you to this task

You

oh you are garlic? ok

Yeah

@urizennnn urizennnn self-requested a review July 27, 2024 08:36
@Cyberguru1 Cyberguru1 self-requested a review July 27, 2024 09:44
@urizennnn urizennnn closed this Jul 30, 2024
@urizennnn urizennnn mentioned this pull request Jul 30, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Single Products API
3 participants