Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davesimoes/react-ai-support
AI-powered real-time customer support assistant, built with React on the frontend and Node.js/Express on the backend, utilizing the OpenAI API to provide smart and automated responses.
https://github.com/davesimoes/react-ai-support
chat-application chatbot conversational-ai cors customer-service customer-support-ai e-commerce express fullstack-development intelligent-assistant machine-learning natural-language-processing openai-api react real-time-chat rest-api
Last synced: about 1 month ago
JSON representation
AI-powered real-time customer support assistant, built with React on the frontend and Node.js/Express on the backend, utilizing the OpenAI API to provide smart and automated responses.
- Host: GitHub
- URL: https://github.com/davesimoes/react-ai-support
- Owner: DaveSimoes
- License: mit
- Created: 2024-09-10T23:10:17.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T00:13:32.000Z (4 months ago)
- Last Synced: 2024-10-17T02:04:59.180Z (3 months ago)
- Topics: chat-application, chatbot, conversational-ai, cors, customer-service, customer-support-ai, e-commerce, express, fullstack-development, intelligent-assistant, machine-learning, natural-language-processing, openai-api, react, real-time-chat, rest-api
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π§ React-AI-Support
This is an AI-powered real-time customer support assistant, built with React on the frontend and Node.js/Express on the backend, utilizing the OpenAI API to provide smart and automated responses. The project aims to showcase the integration between a high-level AI model and a modern, intuitive user interface.
This assistant can easily be integrated into e-commerce platforms, SaaS applications, or any system that requires automated customer support.
## π Main Features
- Real-Time Chat: Enables smooth interaction between the user and AI with real-time updates.
- Smart Responses with OpenAI: Uses OpenAIβs text-davinci-003 model to process user queries and deliver detailed, personalized responses.
- Backend Integration (Node.js/Express): The backend handles API requests to OpenAI and communicates with the frontend.
- User-Friendly Interface: Modern frontend built with React, featuring well-styled components for a clean and intuitive user experience.
- Simple Setup: Just add your OpenAI API key in the .env file, and you're ready to go!## π Folder Structure
```
/client # React frontend directory
/src
/components # React components
/styles # CSS styles
App.js # Main React component
index.js # React entry point
package.json # Frontend dependencies/server # Node.js/Express backend directory
/routes # API routes
/controllers # Request controllers
app.js # Server setup
package.json # Backend dependencies
.env # Environment variables file
```## π οΈ Technologies Used
Frontend:
- React - JavaScript library for building user interfaces.
- Axios - Library for making HTTP requests.
Backend:
- Node.js - JavaScript runtime environment.
- Express.js - Minimalist web framework for Node.js.
- OpenAI API - AI API for natural language processing.
## π§ Installation and Setup
Requirements
- Node.js (version 14 or higher)
- NPM or Yarn
- OpenAI API KeySteps to Run
1. Clone the repository:
```
git clone https://github.com/DaveSimoes/React-AI-Support.git
```2. Navigate to the server directory and install dependencies:
```
cd server
npm install
```3. Create a .env file in the server directory and add your OpenAI API key:
```
OPENAI_API_KEY=your_openai_api_key_here
```4. Start the backend server:
```
npm start```
5. Navigate to the client directory (frontend) and install dependencies:
```
cd ../client
npm install
```6. Start the frontend server:
```
npm start
```
7. The app will be available at http://localhost:3000.## βοΈ Future Features
- User authentication system integration.
- Multi-language support to expand user reach.
- Optimized natural language processing with custom models.
- Add logging and dashboards to monitor interactions.## π€ Contributions:
- Contributions are always welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.π License
- This project is licensed under the MIT License - see the LICENSE file for details.