This is an assignment to be submitted to Datavio.
POST /api/user/register
Parameter | Type | Description |
---|---|---|
name |
string |
Required. Name of user |
email |
string |
Required. Email ID of user |
password |
string |
Required. Password of user |
GET /api/user/register
Parameter | Type | Description |
---|---|---|
email |
string |
Required. Email ID of user |
password |
string |
Required. Password of user |
POST /api/url
Parameter | Type | Description |
---|---|---|
flipkartURL |
string |
Required. Any URL of Flipkart |
To run this project, you will need to add the following environment variables to your .env file
MONGODB_URI
JWT_SECRET
Clone the project
git clone https://github.com/pranavz02/datavio-assignment.git
Go to the project directory
cd datavio-assignment
Install dependencies
npm install
Start the server
npm run start