Skip to content

Theme-Based-Recommender/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Recommendo

Recommendo revolutionizes e-commerce with theme-based recommendations, leveraging OpenAI API and a web scraper. By analyzing your prompts, it delivers tailored suggestions, ensuring a personalized shopping experience. With Recommendo, discover products that align perfectly with your preferences, effortlessly.

Prerequisites

Before using Recommendo, ensure that you have the following:

  • Node.js installed on your local machine

  • MongoDB installed and running locally or hosted remotely

  • Basic knowledge of JavaScript, HTML, and CSS

  • Git installed on your local machine for version control

  • To enable advanced features in our project, you'll need to obtain an API key from OpenAI. If you don't have one, sign up at OpenAI and follow their documentation to obtain your API key. Once you have your key, create a .env file in the root directory of the project and add your API key:

    OPENAI_API_KEY=your-api-key-goes-here

  • Our project utilizes a web scraping API to gather data. Obtain an API key from your preferred web scraping service provider and add it to the .env file:

    WEB_SCRAPER_API_KEY=your-api-key-goes-here

Getting Started

To get a local copy up and running follow these simple steps:

  1. Clone the repository:

Installation

  1. Clone the repository or download the script file to your local machine.

  2. Install the required dependencies by running the following command in your terminal:

npm init; npm i

  1. Create a file named .env in the same directory as the script.

  2. Open the .env file and add the following line, replacing <your_api_key> with your actual API key:

API_KEY=<your_api_key>

Usage

To use the Scraper API, follow these steps:

  1. Make Account on the Scraper API

  2. Use the API Secret key of the Scraper API to fetch the data

Link

Contributing

If you'd like to contribute to the Recommendo, feel free to fork the repository, make changes, and submit a pull request. Contributions are always welcome!

License

MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published