Skip to content

this website gives you coding problem which matches you search.

Notifications You must be signed in to change notification settings

oxone-999/Coding-Problem-Search-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding-Problem-Search-Engine

forgot the question name of a particular website. No worries, go to our website and search for your questions by putting relevant keywords and hit search; you can also set the platform you wanna stick to.

Developer: Anuj Verma

Institution : IIT Kharagpur

Search Engine

A search engine that allows users to search for questions based on their query. The search engine consists of three main stages: web scraping, TF-IDF algorithm, and a Node.js and React web application.

Table of Contents

Features

  • Web scraping: The search engine scrapes question data from websites such as LeetCode, Codeforces, and CodeChef using Beautiful Soup and Selenium.
  • TF-IDF algorithm: It implements the TF-IDF algorithm to find potential documents (questions) related to the user's query.
  • Web application: The search engine is integrated into a web application built with Node.js and React, allowing users to search for questions and view the results.

Installation

  1. Clone the repository:

    git clone https://github.com/oxone-999/Coding-Problem-Search-Engine.git
    
  2. Install dependencies:

  • Make sure you have beautiful soup and selenium installed in your workspace

    pip install bsoup
    pip install selenium
    
  • if getting error after installing the libraries

    pip install -user bsoup selenium

for intalling it globally

  • For hosting the backend locally go to Website/Backend

    npm install
    node server.js
  • For hosting the frontend locally go to Website/Frontend/my_app/

    npm install
    npm start
  • Now you are good to go, now the website will be hosted on http://localhost:3000

Usage

  1. Perform a search:
  • Enter a query in the search box.
  • Select the website you want to search
  • The search engine will process the query using the TF-IDF algorithm and display relevant questions as results.

Contributing

Thank you for considering contributing to the search engine project! Please follow the guidelines below:

  1. Fork the repository and create a new branch for your contributions.
  2. Make your changes, add tests if applicable, and ensure that the code passes all existing tests.
  3. Submit a pull request detailing your changes, the motivation behind them, and any relevant information.

About

this website gives you coding problem which matches you search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published