This is a MERN (MongoDB, Express.js, React.js, Node.js) chat app that allows users chat with each other.
To run this app on your local machine, follow these steps:
-
Clone the repository: clone this repo by
https://github.com/Aman1143/Peer-Chat.git
-
Navigate to the project directory: Navigate to client folder to run client side code.
-
Install the dependencies for the server and client: run
npm i
-
Install the dependencies for the client : run
npm i
oryarn install
-
Set up environment variables:
- Create a
.env
file in theserver
directory. - Add the necessary environment variables, such as database connection details.
-
Start the server: start server by
npm start
-
Start the client : start client by
yarn start
-
Open your browser and visit
http://localhost:3000
to see the app in action.
Contributions are welcome! If you have any ideas or improvements, please submit a pull request. For major changes, please open an issue first to discuss the changes.