This project implements a real-time chatting application using Django Channels, DRF, Redis, Daphne, React JS and SQLite as the database. It allows users to communicate realtime via WebSockets and integrates AI functionalities for enhanced chat experiences.
git clone <repository_url>
cd <repository_directory>
npm i
python -m venv venv
venv/Scripts/activate
pip install -r requirements.txt
GEMINI_API_KEY = <your_api_key>
cd backend
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
sudo apt update
sudo apt install redis-server
sudo service redis-server start
redis-cli ping
if you receive PONG then you are good to go 😀cd backend
python manage.py runserver
cd frontend
npm start
Boom you are good to go !! Your realtime chat-application has started working !!!
Visit http://localhost:3000/default
to access the website !!