This is an application uses Web Socket (Socket.io) technology to create a person to person(s) instant messenger web app. The frontend is powered by React, Redux, Socket.io client. The server is a NodeJS Express server, using MongoDB and Passport for creating an account.
Once you have created a account and use the messenger feature, all messages will be deleted once all parties are sign out.
Please go to the deployed version here. => M*Socket
How to use it.
Please create your own account at M*Socket for full access to try it out for yourself. Create a new incognito window, then log into the demo account. Doing this will allow you to see the messages being sent by you to the demo account. Once all accounts are logged out or the account window is closed, all chat messages will be deleted.
Username: mkim Password: abcdef1234
If you are cloning this repo and wanted to locally host both the client and the server, please open terminal window then
cd to where you cloned this project.
- Next cd into the server folder. Then type
npm installto install to download the dependencies.
- Next, create 3 terminal windows and type 3 different commands in each new window.
- In the 1st window please write
mongod, hit return and you should see MongoDB running in your terminal now.
- 2nd window writes the word
mongothen hit return. The same result as before should show up as the mongo database starts up.
In your 3rd terminal
cdinto the client folder, then write
npm installto add the dependencies.
node_modulesis downloaded write
cd .., then write
npm run dev.
The server will be available on
loaclhost/8080and on your defult web browser
local/3000will show up as well.
- Client folder // jwt-decode, react, react-redux, redux-form, socket.io-client.
- Server // socket.io, express, jsonwebtoken, bcryptjs, mocha, chai, heroku.