Skip to content

Basic realtime chat with angular frontend, django backend and socket.io

License

Notifications You must be signed in to change notification settings

FarDust/we-may-chat

Repository files navigation

Conventional Commits

Maintainability

Total alerts Language grade: JavaScript Language grade: Python

We May Chat

A simple anonymous chat

App Summary

This is a small app that simply works using Django as API, socket.io as comunication protocol and Angular as frontend single page web app. I'm using sqlite as database for the app but any SQL database may work as well.

Most of the comunication is over /socket.io/ endpoint.

Development instructions

  • Prepare virtualenv with pipenv
  • Install dependencies: pipenv install
  • Install angular cli: npm install -g @angular/cli
  • Change directory frontend/chat-room
  • Run npm install
  • Change directory to project root
  • Run app: python manage.py runserver
  • Open localhost:8000 in web browser

Disclaimer

this app is not meant to be production ready