pravesh-pandey / Plotline_Backend_Problem_Statement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plotline_Backend_Problem_Statement

Seller Schema = {

    sellerName,

    sellerId,

    products

 }

Product Schema = {

    name ,

    productId,

    price

}

Routes

  1. seller/

    • register/

    • AddProduct

    • status/

    • Admin/

  2. Admin/

    • AllProduct/

    • status/

  3. status/

To Use it Add .env file with port (as PORT )and mongoDB Url ( as DB_URL)

For requests you can import @this to postman.

About

License:MIT License


Languages

Language:JavaScript 100.0%