this messenger uses a number of open source modules to work properly:
- React-js - for UI creation
- React-Bootstrap - for styling components
- socket.io-client - for client-side real-time communication
- Express - fast node.js network app framework
- MongoDB - storing data
- Socket.io - for server-side real-time communication
- Passport-js - for user authentication
At first you should Install the api dependencies and devDependencies and start the server.
You should install MongoDB before.
cd messenger-master/server
npm i
mongod
npm run dev
Now you should Install the frontend dependencies and run the Frontend.
cd messenger-master/client
npm i
npm start
The frontend is available at http://localhost:3000
User one | User two |
---|---|