Skip to content

Loading Product Details data #83

@OpenTechConsult

Description

@OpenTechConsult

We want to be able to display a product detail by its ID
We want for now just to console log the product data

Tasks
Create the getProductById controller function.
That function get the request parameter called productId , and base of that call the static function findById on the Product class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    basicsExplore all node.js basicsenhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions