Can someone help me make a chat client on replit it never works

can someone help me make a flask backend and frontend for a chat client

When you create a Repl using the Flask template, there is boilerplate code to help you get started.

I think I said this somewhere before, but the key to chat clients is: Websockets!