Socket Chat is a real-time chat application built using the MERN stack (MongoDB, Express.js, React, Node.js) and Socket.io. It uses the Context API for state management.
To get started with Socket Chat, follow these steps:
Make sure you have the following installed:
- Node.js
- MongoDB
-
Clone this repository:
git clone https://github.com/amirzack/socket-chat.git
into the root directory and install the server dependencies:
-
in root folder : npm install
-
Start the server: cd backend- npm run dev
-
Open another terminal window, change into the frontend directory, and install the client dependencies: cd frontend - npm install
5.Start the frontend: npm start
npm install my-package