A website to join private chat rooms and chat with your friends. No chat history is saved. It is made with Socket.io and ReactJS.
https://chat-room-a9sy.onrender.com
git clone https://github.com/ayushshaw90/chat-rooms.git
cd chat-backend
npm install
cd ../chatrooms
npm install
cd ..
cd chat-backend
npm run start
Open a terminal in the root directory of the cloned repository
cd chatrooms
npm run dev
After starting the frontend, the terminal shows the link to the react site in localhost.
Open the link in browser and use the app.
Open a terminal in the root directory of the cloned repository
cd chatrooms
npm run build
A folder named frontend is generated and gets stored inside chat-backend directory. It has the production build of react.
Open the chat-backend directory and open a terminal in it
npm run start
It starts the react project in the link
Open the link and use the chat application (No need to start the react server)