Skip to content

This program was developed with python and use socket TCP for chat users together In pairs.

License

Notifications You must be signed in to change notification settings

elliot31878/chat_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Multi-User Chat Application with Python (Socket TCP)

This is a Python-based local chat application that uses TCP sockets to allow users to chat in pairs. The application is structured into two main packages: client and server. The client package implements the Observer pattern, and the application uses the Peewee ORM for database management and Colorama for colored console outputs.

chatApp

Table of Contents

Features

  • Local Chat: Users can chat with each other locally using TCP sockets.
  • Client-Server Architecture: The application follows a client-server model where multiple clients can connect to a central server.
  • Observer Pattern: The client package is implemented using the Observer pattern, promoting better design and separation of concerns.
  • Peewee ORM: Used for managing the database and storing chat logs or user information.
  • Colorama: Used to add color to the console output, making the chat more user-friendly.

Installation

To set up the chat application, follow these steps.

Prerequisites

  • Python 3.x: Ensure Python is installed on your system. You can download it from python.org.
  • PyCharm: (Optional but recommended) Use PyCharm IDE for better development experience. You can download it from jetbrains.com.

Step 1: Clone the Repository

Start by cloning the GitHub repository:

git https://github.com/elliot31878/chat_application.git
cd chat_application
cd server
pip install -r requirements.txt

About

This program was developed with python and use socket TCP for chat users together In pairs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages