Skip to content

refactor productRouter.js to transfer functions to database/product.js #1

@SahilKr24

Description

@SahilKr24

router and functions are merged into a single file under components/productRouter.js
functions have to be extracted and placed under database/product.js
example and hint can be taken from the orderRouter.js and order.js respectively.
Test your code before making a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestIssues for hacktoberfest 2020.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions