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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
Clone the Repository:
git clone https://github.com/techcodebhavesh/DevHelp.git
-
Navigate to Project Directory:
cd devhelp
-
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.
- Copy the
-
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
-
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
-
Build the Project:
npm run build
-
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) );
-
Start the Application:
- Within the project's main directory, execute the command:
npm run start