Skip to content

This is an extensive peer-to-peer chat application API that implements Oath2 for user authentication, web sockets for real time communication, and active read receipts.

License

Notifications You must be signed in to change notification settings

Numostanley/Chat-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose Installation

Clone the repository:

git clone https://github.com/Numostanley/Chat-API.git

Enter the root directory.

cd Chat-API

Run docker-compose

docker-compose up --build

Manual Installation

Clone the repository:

git clone https://github.com/Numostanley/Chat-API.git

Enter the root directory.

cd Chat-API

Create a virtual environment.

python -m venv venv

Activate the virtual environment.

On Windows:

venv\Scripts\activate

On macOS and Linux:

source venv/bin/activate

Change the directory to the src folder:

cd src

Install dependencies:

pip install -r requirements/base.txt

Database Setup

Make migrations:

python manage.py makemigrations

Apply migrations:

python manage.py migrate

Seed Clients:

python manage.py seed_clients

Running the Project

python manage.py runserver

NOTE:

This project requires >= 3.8. Ensure you have Redis and PostgreSQL properly installed and configured.
You can also find the Postman API documentation to this project at:
https://www.postman.com/orange-capsule-84916/workspace/chat-api

About

This is an extensive peer-to-peer chat application API that implements Oath2 for user authentication, web sockets for real time communication, and active read receipts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages