Compare prices between Flipkart and Amazon using Parsera library.
You will need an OpenAI API key. You will have to install Node.js and Python on your device.
Step-by-step instructions on how to get the development environment running.
-
Clone the repository:
git clone https://github.com/MS-Teja/compare.git
-
Navigate to the project directory:
cd compare -
Install dependencies for frontend:
npm install
-
Create and activate a virtual environment for backend:
On Mac, use:
python3 -m venv venv source venv/bin/activateOn Windows, use:
python3 -m venv venv .venv\Scripts\activate -
Install dependencies for backend:
pip install -r requirements.txt
-
Install Playwright browsers:
playwright install
-
Create a
.envfile in the backend directory and add your OpenAI API key:echo "OPENAI_API_KEY=your_openai_api_key" > Backend/.env
Replace your_openai_api_key with your OpenAI API key.
Instructions and examples for using the project.
-
For Backend
cd Backend python app.pyor
cd Backend python3 app.pyMake sure the virtual environment is activated
-
For Frontend
npm run dev
This project is licensed under the MIT License - see the LICENSE file for details.