Flask browser application

I am learning Flask and I want to practice creating a simple web application.

I want to create a chat web application that allows you to send messages between two or more web browsers in Flask, but I'm not sure where to start or start creating this application. This question is pretty broad, but I want to know how to structure this application. What are the parts that I need to create this application.

+4
source share
1 answer

a very broad question, but I recommend starting here from the web sockets http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent . Then you can subscribe to one of the two subscribers to the channel and make messages to each other.

+4
source

Source: https://habr.com/ru/post/1545280/


All Articles