Skip to content

Commit

Permalink
read me update
Browse files Browse the repository at this point in the history
  • Loading branch information
ChauhanAbhinav committed Sep 4, 2019
1 parent 39f4fab commit 3aa0add
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@ npm start

Navigate to `http:https://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Note:
## Database
Mongodb:- running or remote by default
for switching change url in server>db>dbUtils.js

remoteUrl : 'mongodb+srv:https://<user>:<password>@cluster0-winsn.mongodb.net/test'
user: abhinav, pass: mongoose

localUrl :- localUrl: 'mongodb:https://127.0.0.1:27017'

1. For testing real time chat, use multiple browser for multiple users, only one user can be able to login from a browser at a time. This is because of over writing of cookies.
DB Name: chat
collections: Users, contacts, chatMessage

## Note:

2. Contain a small bug of duplicate sockets.
1. Read reciept and routing guards are left.

## Code scaffolding

Expand Down

0 comments on commit 3aa0add

Please sign in to comment.