Problem Description
Scenario:
You need to build a real-time chat application where users can send and receive messages.
The system should:
1. Store chat history.
2. Provide a WebSocket-based real-time messaging feature.
3. Have a frontend interface to display messages.
4. Use Docker for deployment.
Coding & Problem Solving
Question:
Design the backend logic for storing messages and retrieving chat history
Python Coding
Question:
Implement a FastAPI WebSocket endpoint for real-time messaging
Frontend Coding (15 mins)
Question:
Create a simple React component to handle real-time chat.
Backend Concepts
Question:
How would you implement authentication for WebSocket users?
Hints
No hints available for this question.