CritiQ
1.0.0

CritiQ is an decentralised web application for handling customer reviews and feedback for products and services. It incentivises the reviewer and prevents them from posting gibberish reviews to maintain authenticity. Companies are assisted with LLMs to improve their competition in market. It provides a range of endpoints for managing users, reviews, and validation processes.

Contract address : "0x08eB668E21bee808e48A0449713b3494476Eb1b0",
Block explorer Transaction Hash : "0x6e9e8cc04003759822505cdf5bbb39258ba71a4f76b07e30daa0ac343ee3ded9"
Block explorer url : https://subnets-test.avax.network/c-chain
Clone the repository:
git clone https://github.com/biswajit150803/critiqAll_backend.git cd critiqAll_backend
Install dependencies:
npm install
Create a .env file with the following variables:
PORT=your_port
npm start
BACKEND API:
-Register a customer
- Method: POST
- Body:
{
"name": "string",
"companyEmail": "string",
"walletAddress": "string"
}
-Login a customer
- Method: POST
- Body:
{
"walletAddress": "string"
}
-Register a company
- Method: POST
- Body:
{
"companyName": "string",
"companyEmail": "string",
"companyLogoUrl": "string",
"companyDescription": "string",
"walletAddress": "string",
}
-Login a company
- Method: POST
- Body:
{
"walletAddress": "string"
}
-OTP Verification
- Method: POST
- Body:
{
"email": "string",
"otp": "string"
}
- Method: GET
- Body:
{
"phone": "string",
}
- Method: POST
- Body:
{
"sid": "string",
"id": "string",
"phone": "string"
}
```
- URL: /
- Method: POST
- Body:
{
"productName": "string",
"productDescription": "string",
"productImageUrl": "string",
"isOrderIdTracking": "boolean",
"reviewDate": "string",
"excelFile": "string",
"questions": [
{
"question": "string",
"type": "string",
"options": [
"string"
]
}
],
}
This project is licensed under the MIT License.