Skip to content

Faizgeeky/Django_Websocket_Chatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Faiz-Z Tech Task This repository contains a Django WebSocket server and a React client for a real-time chat application. ## Setup Instructions ### Clone the Repository To get started, clone the repository to your local machine: ```sh git clone https://github.com/Faizgeeky/Faiz-Z_Tech-Task.git cd Faiz-Z_Tech-Task

Setting Up the Django WebSocket Server

  1. Navigate to the server folder:

    cd server
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the Daphne server:

    daphne -p 8000 server.asgi:application

Setting Up the React Client

  1. Navigate to the client folder:

    cd ../client
  2. Install the required dependencies:

    npm install
  3. Start the React application:

    npm start

Demonstration Video

Watch the demonstration video below to see the application in action:

Download Demo Video

How the Application Works

This project uses Django Rest Framework (DRF) APIs and Django Channels to build a real-time chat application.

Postman Collection

A collection.json file is included for easy testing of the API endpoints with Postman. Simply import this file into Postman to get started.