Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

leksikov/archive_websocket_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocket Web chat with aiohttp and aioredis

Web chat application with aiohttp which utilises co-routines and WebSockets

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Redis on loclahost

Usage

Run server 'python main.py'

  1. Open browser
  2. enter: http://localhost:8080
  3. Click connect

File descriptions:

  1. main.py: Contans server logic and routes. Application initialization with redis
  2. view.py: Websockets initializations
  3. template/index.html: Displays current user, all users in chatroom, sending and display all messages.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Sergey Leksikov - author See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published