How henriqueweiand/nestjs-real-time-chat works
Project type and purpose
• This is a real‑time chat application backend built with NestJS, exposing Socket.IO channels to React‑based micro frontends. Its purpose is to handle WebSocket connections, route incoming/outgoing chat messages, and integrate with frontends for a multi‑tenant or micro‑frontend chat UI.
File structure
• Top‑level files:
• nest-cli.json, tsconfig*.json, package.json, .eslintrc.js, .prettierrc, .gitignore
• README.md describes the stack.
• src/
• main.ts — bootstrapper for the Nest application
• app.module.ts — root module
• app.controller.ts / app.service.ts — sample health‑check endpoints
• chat/
– chat.module.ts — encapsulates chat functionality
– chat-gateway.ts — Socket.IO Gateway that handles events and pushes updates
• test/ contains end‑to‑end and unit test configurations.
README
• Confirms use of NestJS, React micro frontends, and Socket.IO.
• No database in code; likely ephemeral in‐memory broadcast (or storage handled elsewhere).