- Backend: Django + Django Rest/
- Frontend: Angular 1
- Web socket: Django channels was used to refresh all connected users screens in case of Messages model changes. This point needs additional work to refresh screens of sender and receiver only and not all connected users
- Only dev environment was configured/tested. SQLLite as database and Django dev server.
- Create virtual env if needed
- Install requirements:
pip install -r requirements.txt
python3 manage.py runserver
python3 manage.py test
- Open http://localhost:8000 url in browser. Hoping work procedure is clear from UI.
- Database instance is in repo. Admin user: sender1, password: sender1Message Second user: sender2, password: sender2Message
- To add more users, please use Django admin panel: http://localhost:8000/admin
- If you prefer to work with clear env, just delete database file and rerun migrations.