This is a simple Backend API for a Chat App built using Django Rest Framework.
- Setup the virtual environment.
- Install
django
,restframework
,channels
and other requirements. - Run
python manage.py runserver
to start the server.
- User registration: POST
/api/register/
- User login: POST
/api/login/
- Start a chat: POST
/api/chat/start/
- Send a message: WEBSOCKET
/api/chat/send/