Making a chat app with Dapr
Blog post from LogRocket
The article outlines the process of building a simple chat application using the Distributed Application Runtime (Dapr), an open-source framework developed by Microsoft to streamline the creation of microservice applications. It details the setup of two microservices—a Node.js application and a React frontend client—using Dapr's various building blocks such as service invocation, state management, and publish/subscribe messaging. The Node.js application acts as a message subscriber, while the React client interfaces with users. The chat app employs WebSocket for real-time communication and demonstrates Dapr's capabilities in developing resilient, scalable microservices. The article also hints at potential enhancements like user sessions and detailed message metadata, and suggests deploying the application to Kubernetes for production use.