python-chat-example icon indicating copy to clipboard operation
python-chat-example copied to clipboard

Chat with Python, Django and React

Chat with Python, Django and React

Chat with Python, Django and React

Building chat with Python can be a time consuming task. Stream Chat provides the necessary SDK and underlying infrastructure to allow anyone to build chat with Python.

This repository hosts the codebase for the Python Chat Tutorial with Django and React.

To get started, follow these steps:

1. Clone the Repository

git clone [email protected]:GetStream/python-chat-example.git

2. Setup Dependencies

  • brew install python3
  • brew install node && brew install yarn
  • python3 -m venv chatexample
  • source chatexample/bin/activate
  • cd python-chat-example/chat-frontend && yarn && yarn start

3. Replace Stream Chat API Credentials

  • mychat/settings.py on line 47 and 48
  • chat-frontend/src/Chat.js on line 17