# 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-
Navigate to the
serverfolder:cd server -
Install the required dependencies:
pip install -r requirements.txt
-
Run the Daphne server:
daphne -p 8000 server.asgi:application
-
Navigate to the
clientfolder:cd ../client -
Install the required dependencies:
npm install
-
Start the React application:
npm start
Watch the demonstration video below to see the application in action:
This project uses Django Rest Framework (DRF) APIs and Django Channels to build a real-time chat application.
A collection.json file is included for easy testing of the API endpoints with Postman. Simply import this file into Postman to get started.