Real time multi user chat app with stored chat history.
- Languages: Go, JavaScript, HTML, CSS
- Backend:
- Websocket and REST API built with Socket.IO, Gorilla, and MongoDB
- Deployed with Docker on Azure Cloud Kubernetes Cluster
- Frontend:
- Built with Vue.js and Bootstrap
- The Chat API provides two endpoints to receive and delete the chat history from the database in MongoDB.
- API Connection:
- GET: BASE_URL/API/MESSAGES
- RESPONSE: ID, USER, TEXT, DATE
- DELETE: BASE_URL/API/DELETE
- Users can connect to the chat room and send or receive messages in real time
- New users are greeted with a welcoming message. Messages are displayed with the user, text, and date
- The user can also close the chat for all connected user by sending a disconnecting message that disables further messages
- Users can see messages from different users in real time
- The chat history is fetched or deleted via an own REST API connected to MongoDB