Skip to content

ChatMe is live chat application built using django, django-channel and redis

Notifications You must be signed in to change notification settings

banghawe/ChatMe

Repository files navigation

ChatMe - Live Chat Application

ChatMe is live chat application was built using django, django-channel and redis. ChatMe using websocket to support realtime chat

Getting Started

How to run project on local environment

  1. Please install docker on your machine
  2. Create .env file based on .env.example
  3. Running
    docker-compose up --build
  4. Run backend terminal and run next instruction on chatme-backend terminal
    docker-compose run chatme-backend sh
  5. Migrate db schemes
    python manage.py migrate
  6. Add superuser for django admin
    python manage.py createsuperuser
    and follow the instructions
  7. Run test
    coverage run --omit --source='.' manage.py test

How to test chatme using Postman

You can test websocket using Postman 8.5

Run in Postman

  1. Connect to ws connect to ws
  2. Send message through API Endpoint: http://localhost:8000/message/:session_code send message API
  3. Receive message through websocket, connect to ws://localhost:8000/:session_code Receive message

About

ChatMe is live chat application built using django, django-channel and redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages