https://imraghav20.github.io/MS-Teams-Clone/#/
A Microsoft Teams Clone under Microsoft Engage Mentorship 2021.
The application is based on MERN stack (MongoDB, ExpressJS, ReactJS and NodeJS), webRTC API and socket.io
- Clone the repository either using Git CLI or Download as Zip.
cd server
and runnpm install
to install all the dependencies on server side.- In another terminal
cd client
folder and runnpm install
to install all the dependencies on client side. - Inside server folder, create a
.env
file and put 2 variables in it:
i.MONGO_URL = "mongodb+srv://<USERNAME>:<PASSWORD>@<CLUSTER_NAME>.mongodb.net/<DATABASE_NAME>?retryWrites=true&w=majority"
(Modify the above URL as per the URL you receive after creating your Cluster on MongoDB Atlas) ii.JWT_SECRET = <ANY_STRING_YOU_PREFER>
- Run
npm start
on both server side and client side. Open the web app on http://localhost:3000/ .
- Currently, the server is deployed at Heroku using Heroku CLI.
- Change the localhost server link to deployed server link in
./client/api/index.js
and./client/SocketContext.js
. - Now, run
npm run deploy
on client side to deploy the application on GitHub pages.