/LeetBot-public

Open source verions of LeetBot-extension .

Primary LanguageJavaScript

LEETBOT: Your Personal LeetCode Assistant

Releases Extension Repo

Note; This is open source development version of Leetbot Public . For downloading the extension and features , Head to https://github.com/Ghat0tkach/LeetBot-extension/

LeetBot

Welcome to LeetBot, your personal assistant for tackling LeetCode questions with ease.

  • Powered by the magical capabilities of Google Gemini, LeetBot provides intelligent assistance to help you think outside the box and conquer challenging problems.



DEMO VIDEO

Explore the capabilities of LeetBot by watching our demo video:

Recording.2024-03-31.191614.mp4

This repository contains the LeetBot extension which has React as Frontend and Node as Backend

Prerequisites

Before running the application, ensure you have the following installed:

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/Ghat0tkach/LeetBot-public
    
  2. Navigate to the project directory:

    cd LeetBot-public
    
  3. Install dependencies for both frontend and backend:

    cd frontend && npm install && cd ../backend && npm install
    

Running the Frontend Server

To start the frontend server, run the following command:

npm run dev

This will start the development server at http://localhost:3000 by default.

Running the Backend Server

To start the frontend server, run the following command:

npm start

This will start the development server at http://localhost:8000 by default.

.env files setup

Heads to Google gemini and get your api key . Replace the api_key in .env of backend

Accessing the Application

Once the server is running, you can access the application by opening your web browser and navigating to http://localhost:3000.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.