Open Issues Need Help
View All on GitHubAI Summary: Implement a GET API endpoint `/api/products/{id}` to retrieve detailed information about a specific product using the Herfy backend (.NET Core, PostgreSQL, Entity Framework Core). This involves creating or updating the `GetProductDetailsAsync` method in the `ProductService`, adding the endpoint to the `ProductsController`, and thoroughly testing it with valid and invalid product IDs.
AI Summary: Implement a GET API endpoint (/api/products) to retrieve a list of products. The API should support filtering by search term, category, and price. This involves creating or updating the `ListProductsAsync` method in the `ProductService`, adding the endpoint to the `ProductsController`, and thoroughly testing the filtering functionality.
AI Summary: Implement a new POST API endpoint (/api/products) for the Herfy backend that allows artisans to add new products. This involves creating the AddProductAsync method in the ProductService, adding the endpoint to the ProductsController, implementing role-based access control to restrict access to artisans only, and thoroughly testing the API using Postman or Swagger.
AI Summary: Develop a PUT API endpoint at `/api/users/profile` to allow authenticated users to update their profile details. This involves implementing the `UpdateUserProfileAsync` method in the `UserService`, adding the new endpoint to the `UsersController`, and thoroughly testing the API with authenticated requests.
AI Summary: Implement a GET API endpoint at `/api/users/profile` to retrieve user profile details. This involves creating or updating the `GetUserProfileAsync` method in the `UserService`, adding the endpoint to the `UsersController`, and thoroughly testing the API with authenticated requests.