assigned on -> 15/07/2022 Submitted on ->16/07/2022
API Reference
User api's
User Register and login
POST /user/auth/register
POST /user/auth/login
Parameter
Type
email
string
password
string
Verify user auttoken
GET /user/auth/verify
Parameter
Type
Description
req.headers['x-auth-token']
string
Required
get product depending on quary Parameter
GET /user/getproduct/models?cname=`mobile company name`& model=`model name`if company name and model name then we get pricesif only company name then we get models belong to this companyif nothing present then we get all modelsGET /user/getproduct/allcomp to get all company names