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

https://github.com/asifrahaman13/socket-programming

An application which can be used for multiple user as well as chat bot communication at the same time. Chat bot is created using OpenAI, langchain. Multiple users can join in the chat group.
https://github.com/asifrahaman13/socket-programming

aws fastapi nextjs python

Last synced: 3 months ago
JSON representation

An application which can be used for multiple user as well as chat bot communication at the same time. Chat bot is created using OpenAI, langchain. Multiple users can join in the chat group.

Awesome Lists containing this project

README

          

## Chat Application

First clone the repository.

```
git clone https://github.com/asifrahaman13/socket-programming.git
```

## Backend

Move to the backend directory
```
cd backend/
```

Next create and activate the virtual environment.

```
virtualenv .venv
source .venv/bin/activate
```
Install the necessary packages and dependencies

```
pip install -r requirements.txt
```

Now run the backend

```
uvicron main:app --reload
```

## Front end

Open another terminal to move to the front end.

```
cd frontend/
```

Install the required packages

```
yarn install
```

Next run the development server

```
yarn run dev
```