Web Programming with Python and JavaScript
My project coled Chudo-chat.
This is the simple chat-masseger based on Flask with Socketio library
application.py: Main flask application
helpers.py: Class Masseges with local database in it, Class User with user database, login_required decorator.
layout.html: Main HTML code
index.html: index page (extends from layout.html)
login.html: login page with own script file(login.js)
script.js: main javascript code
- Supporting deleting users one’s own messages. When user delete own's massege, a massege changes to "<user> deleted his massege"
- Supporting anwering to the direct user. Answer appears with user massege quotes.