Skip to content

ShopScout 🛍️✨ is your smart shopping assistant, finding the best products from Flipkart and Amazon! 🚀🤖 Enjoy personalized recommendations 🎯seamless shopping experience! 💖

License

Notifications You must be signed in to change notification settings

Subtilizer28/ShopScout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShopScout

ShopScout 🛍️✨ is your smart shopping assistant, finding the best products from Flipkart and Amazon! 🚀🤖 Enjoy personalized recommendations 🎯seamless shopping experience! 💖

Table of Contents

Tech Stack

Tech Stack - ShopScout

Home

App Screenshot

Features

  • Product Comparison: Compare similar products across multiple categories, including detailed specifications and features.
  • Product Suggestions: Get tailored product recommendations based on user preferences.
  • Price History Tracking: Visualize price trends with interactive charts and analyze the best purchase timing.
  • Wishlist Management: Add products to a wishlist and store data persistently using cookies.
  • Cross-Platform Shopping: Access direct purchase links for products on Flipkart and Amazon.
  • User-Friendly Interface: Enjoy a responsive design built with React.js and Material UI, optimized for all devices.
  • Secure Storage: Manage wishlists securely with cookie-based storage, ensuring privacy.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Client Folder

Create a .env file in the Client folder and add the following variable:

VITE_BACKEND=<backend-url>

The URL of your backend server. Ensure it matches the server's address (e.g., http://localhost:5000 for local development or your hosted backend URL).

Server Folder

Create a .env file in the Server folder and add the following variable:

API_KEY=<gemini-api-key>
FRONTEND=<frontend-url>

API_KEY: The API key for accessing the Gemini API. Replace with the actual key provided by Gemini.

FRONTEND: The URL of your frontend application (e.g., http://localhost:3000 for local development or your hosted frontend URL).

API Reference

Get Price History of Product

  GET /api/phistory
Parameter Type Description
product-url string Required. The url of the product

Compare two products

  GET /api/compare
Parameter Type Description
link1 string Required. Product url of 1st item
link2 string Required. Product url of 2nd item

Get Suggestions for Phone/Laptop

  GET /api/(psuggest or lsuggest)
Parameter Type Description
info string Required. Info of item (refer index.js)

Prerequisites

Run Locally

Clone the project

  git clone https://github.com/Subtilizer28/ShopScout.git

Go to the project directory

  cd Client
  cd Server

Install dependencies

  npm install

Start the server

  node index.js

or

  docker build ~/shopbuild -f Dockerfile -t shopscout
  docker run shopscout

Start the client

  npm run dev

Deployment

Clone the project

  git clone https://github.com/Subtilizer28/ShopScout.git

Go to the project directory

  cd Client
  cd Server

Install dependencies

  npm install

Start the server

  node index.js

or

  docker build ~/shopbuild -f Dockerfile -t shopscout
  docker run shopscout

Build the client

  npm run build

Run the client

  npm run preview

Collaborators

Special thank you for all people that contributed for this project.

Arlin Riya Dsouza Profile Picture
Arlin Riya Dsouza
Ashton Prince Mathias Profile Picture
Ashton Prince Mathias
Aman Marian Cutinha Profile Picture
Aman Marian Cutinha

Contributing

Step 1: Fork the Repository

  1. Visit the ShopScout repository.
  2. Click the Fork button in the top-right corner of the page to create a copy of the repository under your GitHub account.

Step 2: Clone Your Forked Repository

  1. Open your forked repository on GitHub, and click the Code button to copy the repository's HTTPS, SSH, or GitHub CLI link.

  2. Open your terminal and clone the repository to your local system using:

    git clone <your-forked-repo-url>

About

ShopScout 🛍️✨ is your smart shopping assistant, finding the best products from Flipkart and Amazon! 🚀🤖 Enjoy personalized recommendations 🎯seamless shopping experience! 💖

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages