An open API service indexing awesome lists of open source software.

https://github.com/thakiyudheen/chatai-server

To create a chat application with a bot using NestJS, you can set up a WebSocket gateway for real-time communication. Implement a `ChatGateway` to handle incoming messages, process them with a bot logic (e.g., calling an external API), and respond accordingly. Integrate Axios for HTTP requests, and manage state using services for clean architecture
https://github.com/thakiyudheen/chatai-server

axios nest nestjs reactjs socket-io typescript

Last synced: 4 months ago
JSON representation

To create a chat application with a bot using NestJS, you can set up a WebSocket gateway for real-time communication. Implement a `ChatGateway` to handle incoming messages, process them with a bot logic (e.g., calling an external API), and respond accordingly. Integrate Axios for HTTP requests, and manage state using services for clean architecture

Awesome Lists containing this project

README

          

# Chat Application with AI Bot

This project is a chat application built with React, TypeScript, and Vite, featuring real-time communication through Socket.IO and AI-driven responses using the Gemini API. The frontend is styled with Tailwind CSS for a modern, responsive design.

## Features

- **Real-time Chat**: Powered by Socket.IO for live messaging.
- **AI Integration**: Utilizes the Gemini API to provide intelligent chat responses.
- **Modern Design**: Styled with Tailwind CSS for a sleek, responsive UI.
- **Type Safety**: Built with TypeScript for improved development experience and code quality.

## Table of Contents

- [Getting Started](#getting-started)
- [Project Setup](#project-setup)
- [ESLint Configuration](#eslint-configuration)
- [Socket.IO Integration](#socketio-integration)
- [Gemini API Integration](#gemini-api-integration)
- [HTML Sanitization](#html-sanitization)
- [Usage](#usage)
- [Testing](#testing)
- [Resources](#resources)
- [License](#license)

## Getting Started

1. Clone the repository:

```bash
git clone https://github.com/yourusername/chat-app.git