Creating a Chat App working in memory with NodeJs, and HarperDB.
Greetings people. In this tutorial you will learn how o create a simple chat application working in memory via NodeJs and HarperDB. Before will begin, what is HarperDB?
HARPERDB ⚡
HarperDB is a geo-distributed database with hybrid SQL & NoSQL functionality in one powerful tool, accessed via a REST API. Runs anywhere presenting a single interface across all deployment architectures. Hybrid cloud capability, run on public cloud, edge data centers, on-premise, and/or in the field. Provides low latency edge data replication, effectively the evolution of CDN, but for your data. Real-time data synchronization between nodes A single node of HarperDB can handle 100,000 requests per second & it can globally replicate data at the speed of the Internet. It also support cross cloud capability such as AWS, AZURE More information about it can be found Here
What inspired me to create this? 🤩
When I first read about the hackathon in Hashnode, the first thought that came to my head was - Why not try and build chat application with HarperDB’s support?. Although, I got the information late. Likewise, the application was built in less than 24 hours.
Details about the Chat Application ⚡ The chat message works in memory, but when the user join a chat it is been stored in database.
Users can join room, leave room and a greeting bot has been added to the room just like a mini slack, or discord channel
Source
The source code can be found Here
Tech Stack
HTML5/CSS3 - FrontEnd
NodeJs/Socket.io - BackEnd
HarperDB - Database
More features will be added to the soonest and also improve on the connection. You can support me buy getting me a coffee Here.....
#harperdbhackthon