This is a simple chat application built using React, Socket.io, Express, Node.js, and Cors.
Real-time messaging: Users can send and receive messages in real-time.
Global Chat:Users can chat and interact on a global chat
Message history: The app stores chat history, allowing users to view past conversations.
Private and group chat: Users can engage in private conversations with specific individuals or participate in group chats.
-
: Fork the repository
-
: Copy code:
git clone https://github.com/your-username/chat-app.git
- : Change into the project directory:
cd chat-app
- : Install the dependencies:
npm install
- : Go into nodeServer folder
cd nodeServer
- : Install the dependencies:
npm install
- : Run server
npm start
- : Run react after going to the previous directory
npm start
- : Open link
http://localhost:3000
Dependencies The following dependencies are used in this project:
- React - JavaScript library for building user interfaces.
- Socket.io - Real-time bidirectional event-based communication library.
- Express - Fast, unopinionated, minimalist web framework for Node.js.
- Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine.
- Cors - Middleware for enabling Cross-Origin Resource Sharing (CORS) in Express.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please create a new issue in the issue tracker.
If you'd like to contribute code, please fork the repository, create a new branch with your changes, and submit a pull request.
This project is licensed under the MIT License.
React Documentation for detailed information about React.
Socket.io Documentation for the documentation of Socket.io.
Express Documentation for the API reference of Express.
Node.js Documentation for the documentation of Node.js.
Cors Github for information on using the Cors middleware.
Feel free to customize this README.md file according to your project's specific details.