How hac1es/nt106-doan works
Project Type and Purpose
• “Dreaw” is a distributed, full-stack, real-time collaborative drawing application with OCR.
• Key capabilities: real-time multi-user drawing via SignalR, user authentication, multiple rooms, and image-to-text (OCR) via a Python microservice.
Top-Level Components
• CoreApp (Windows Forms client)
• DoAnPaint (shared drawing UI library / standalone paint app)
• FlaskAPI (Python OCR service)
• Load Balancer (gateway/proxy)
• SignalRServer (clustered .NET Core servers)
• Database (SQL Server)
• Redis (SignalR backplane / caching)
Important Details to Capture
• The client must point to the Load Balancer’s URL (https://localhost:7002).
• Redis is critical for multi-instance SignalR messaging.
• The FlaskAPI OCR service is a separate process invoked over HTTP from the server.
• SQL Server holds user and room data.
• DoAnPaint is a shared library inside the client for drawing primitives and notifications.