Skip to content

Latest commit

 

History

History
93 lines (65 loc) · 2.68 KB

README.md

File metadata and controls

93 lines (65 loc) · 2.68 KB

CodeGenie: Your Coding Chatbot Partner

Overview

CodeGenie is your coding chatbot partner, designed to assist you with coding-related queries, provide suggestions, explanations, and solutions. Inspired by OpenAI's ChatGPT, CodeGenie offers a natural language interface for an interactive coding experience.

Features

  • Natural Language Interface: Engage in a conversation with CodeGenie using natural language.

  • Code Assistance: Receive coding suggestions, explanations, and solutions.

  • Multi-Language Support: CodeGenie can assist with various programming languages.

Tech Stack

  • Vite: Fast frontend build tool that supports modern web technologies.
  • Vanilla JS: Pure JavaScript for the frontend logic.
  • Node.js: Backend server for handling CodeGenie's requests.
  • OpenAI API: Integration with the OpenAI GPT-3.5 for natural language processing.

Setup

Frontend (Vite and Vanilla JS)

  1. Navigate to the frontend directory:
cd client
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Access CodeGenie at http://localhost:3000 in your browser.

Backend (Node.js)

  1. Navigate to the backend directory:
cd backend
  1. Install dependencies:
npm install
  1. Set up your OpenAI API key by creating a .env file with the following content:
OPENAI_API_KEY=your_openai_api_key
  1. Start the backend server:
npm run server

Usage

  • Open CodeGenie in your browser.
  • Engage in a conversation with CodeGenie.
  • Input coding-related queries and receive assistance.

Contributing

Feel free to contribute by opening issues, providing feedback, or submitting pull requests. We welcome any improvements or additional features.

License

This project is licensed under the MIT License.