This backend API can scarp the data of e-commerce(example: Flipkart) and will give information like Title, Price,Rating, etc.
First user need to signup to make Scrape Request. The field that is required for signup is Name,Email and Password
After signup the user automtically get logged in or if he/she wants to login later he/she can use login routes
Password Stored in Hashed format.
The Login route required two field Email and Password
After signup/login a unique token is generated using jsonwebtoken(JWT) which is stored in cookie and the token contains informartion of logged in user
To scrape the data pass the URL in body and send POST to /scrape
Just like this:
The Scrape route will extract information such as title,price,rating,etc.
If the user is not LoggedIn and try to make request to Scrape the data the following error will shown: