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.
- Host: GitHub
- URL: https://github.com/asifrahaman13/socket-programming
- Owner: asifrahaman13
- Created: 2023-11-25T03:38:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-25T05:05:35.000Z (over 2 years ago)
- Last Synced: 2025-10-04T11:37:43.118Z (9 months ago)
- Topics: aws, fastapi, nextjs, python
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```