Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 3.72 KB

README.md

File metadata and controls

74 lines (56 loc) · 3.72 KB

DevHelp - A Coding Assistant

DevHelp is a concise and efficient assistant designed to aid developers in their coding endeavors. With DevHelp, programmers can quickly access documentation, troubleshoot errors, and find solutions to common coding challenges within the. Its user-friendly interface and comprehensive resources streamline the development process, empowering users to write clean, robust, and efficient code with ease. With an array of powerful features, DevHelp empowers developers of all skill levels to write cleaner, more efficient code while offering comprehensive support and insights along the way.

Demo:

Demo

Flowchart:

Flowchart

Key Features

  1. Smart Code Editor: DevHelp comes equipped with a state-of-the-art code editor that enhances your coding workflow. Enjoy features like syntax highlighting, code formatting, and seamless integration with popular programming languages.

  2. Autocomplete Code: Boost your productivity with intelligent code autocompletion. DevHelp suggests relevant code snippets and completions as you type, speeding up your development process and reducing errors.

  3. AI Chatbot: Get instant answers to your coding queries with our AI-powered chatbot. Whether you're stuck on a bug or need clarification on a concept, the chatbot is here to assist you 24/7.

  4. Analytics Page: Gain valuable insights into your coding habits and performance with DevHelp's analytics page. Track metrics such as code complexity, productivity trends, and time spent on different tasks to optimize your workflow.

  5. AI Suggestions: DevHelp goes beyond traditional assistance by analyzing your coding patterns and providing personalized suggestions for improvement. Leverage AI-driven insights to enhance your skills and become a more proficient developer.

  6. Assignment List: Stay organized and focused with DevHelp's intuitive assignment list. Easily manage your coding tasks, track deadlines, and prioritize your workload for maximum efficiency.

Installation Steps

  1. Clone the Repository:

    git clone https://github.com/techcodebhavesh/DevHelp.git
    
  2. Navigate to Project Directory:

    cd devhelp
    
  3. Configure API and MySQL Credentials:

    • Copy the .env.example file and rename it to .env.
    • Update the .env file with the credentials obtained from the respective services in the respective directories.
  4. Install Dependencies:

    • To ensure all dependencies are installed correctly, navigate to the project's client and root directory and run the following command:
    npm install
    
  5. Fix for Legacy Peer Dependencies:

    • If you encounter any issues related to legacy peer dependencies during the installation process, use the following command to install them:
    npm i --legacy-peer-deps
    
  6. Build the Project:

    npm run build
    
  7. Set up MySQL for Authentication and Storage:

    • Create a table named users, user_todos, graphs with the following schema:
    • CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL, accepted INT, naccepted INT );
    • CREATE TABLE user_todos ( id INT AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) NOT NULL, password VARCHAR(255) NOTCREATE TABLE user_todos ( id INT AUTO_INCREMENT PRIMARY KEY, username VARCHAR(255) NOT NULL, todos TEXT NOT NULL, status VARCHAR(10) ); NULL, accepted INT, naccepted INT );
    • CREATE TABLE graphs ( username VARCHAR(255) NOT NULL, timestamp TIMESTAMP NOT NULL, memory INT, status VARCHAR(255), time DECIMAL(5, 3) );
  8. Start the Application:

    • Within the project's main directory, execute the command:
    npm run start