customer-support-app
A customer support application providing a real-time chat interface that integrates with Azure OpenAI, enabling responsive communication and support. Built using React and Node.js, it features secure API integration and error handling capabilities.
Author

jumboqian
Quick Info
Actions
Tags
Customer Support App
A modern customer support application powered by Azure OpenAI, built with React and Node.js.
Project Structure
.
├── frontend/ # React TypeScript frontend
│ ├── src/
│ │ ├── components/
│ │ ├── styles/
│ │ └── ...
│ └── package.json
├── backend/ # Node.js Express backend
│ ├── src/
│ │ ├── config/
│ │ ├── controllers/
│ │ ├── middleware/
│ │ ├── services/
│ │ ├── types/
│ │ └── server.ts
│ └── package.json
└── README.md
Features
- Real-time chat interface
- Integration with Azure OpenAI
- Modern, responsive design
- TypeScript support
- Error handling and loading states
- Secure API integration
Tech Stack
Frontend
- React
- TypeScript
- Modern CSS
- Azure Web Apps deployment
Backend
- Node.js
- Express
- TypeScript
- Azure OpenAI
- Azure Web Apps deployment
Getting Started
Prerequisites
- Node.js (v14 or higher)
- npm (v6 or higher)
- Azure OpenAI Service account
- Azure subscription
Backend Setup
-
Navigate to the backend directory:
bash cd backend -
Install dependencies:
bash npm install -
Create a
.envfile based on.env.example:bash cp .env.example .env -
Fill in your Azure OpenAI credentials in the
.envfile. -
Start the development server:
bash npm run dev
Frontend Setup
-
Navigate to the frontend directory:
bash cd frontend -
Install dependencies:
bash npm install -
Start the development server:
bash npm start
Development
- Frontend runs on
http://localhost:3000 - Backend runs on
http://localhost:3001
Deployment
The application is deployed on Azure Web Apps: - Frontend: https://customer-support-frontend.azurewebsites.net - Backend: https://customer-support-backend.azurewebsites.net
License
MIT
