View Code? Open in Web Editor
NEW
The application is an acronym for Messenger Application
Python 31.61%
HTML 4.27%
CSS 2.25%
JavaScript 60.44%
Shell 0.85%
Pug 0.58%
chatbox's Introduction
Steps to setup frontend -
- Install node.js
- We are using nvm > 12, make sure nvm is set to 12
- Install yarn
- Navigate to ../ui directory
- Run command yarn install
- Run command yarn start
- Install postgres
- Add database chatbox
- Install mongodb
- Add database chatbox, and add 3 collections - messages, connections, notifier
- Make sure python 3.7 or above is installed
- On terminal/ cmd, navigate to ../backend directory
- Start a virtual environment
- Install python requirement from requirements.txt file pip install -r requirements.txt
- Run commands python manage.py makemigrations and python python manage.py migrate.
- Run python manage.py runserver. Django should be started on localhost. This will bring up user management service.
- Navigate to /chat_service/chat_service, and run command yarn install
- Run command yarn start. Express should be started on localhost. This will bring up chat service.
chatbox's People
Contributors
Watchers