https://github.com/joni2back/dechat
https://github.com/joni2back/dechat
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joni2back/dechat
- Owner: joni2back
- Created: 2019-07-04T19:41:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:58:17.000Z (over 2 years ago)
- Last Synced: 2025-01-27T10:23:50.489Z (4 months ago)
- Language: PHP
- Size: 392 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## dechat
### Services and applications
This chat has 2 final applications.
- The first one is **chat-websocket-server** an express app that provides final frontend interface (in VueJS) to the user and also handles websocket communication between **user <> bot**
- The second one is **chat-replies-api**, an isolated service to perform bot replies based on a conversation history. This can use different approaches to return efficient replies, for example Artificial Intelligence, Machine Learning, Cleverbot, etc.### Docker containers and microservices details
- **chat_bot_node**
- Web application to serve websocket chat and frontend client
- ***Works with:** ./chat-websocket-server/*
- ***Language:** EcmaScript6 / Javascript*
- ***Techs:** Node + SocketIO + ExpressJS + Mongoose + VueJS*- **chat_bot_mongodb**
- Database to save chat conversations
- ***Works with:** ./db/*
- ***Techs:** MongoDB*- **chat_replies_api_nginx**
- Nginx server to serve port 80 connecting to backend service of bot conversation replies
- ***Works with:** ./chat-replies-api/*
- ***Techs:** Nginx*- **chat_replies_api_phpfpm**
- PHP-FPM service to expose the php application
- ***Works with:** ./chat-replies-api/*
- ***Techs:** PHP7.2 + FPM + Laravel 5.8*
---
### Todo- Intercept chat conversation to continue by a real support person
- Add some AI to improve answers and conversations---
### Setting up and running
#### Docker build and init containers
```docker-compose up```*This may take a bit, regarding dependencies downloading, etc.*
#### Navigate
*Once containers are working, enter*
```http://localhost:80```