This is a basic chat application built using React.js on the client-side and Socket.io on the server-side for real-time communication.
- Real-time messaging
- Simple user interface
- Supports multiple users simultaneously
- React.js
- Socket.io
- Node.js
- Express.js
- Node.js installed on your machine
- Clone the repository:
git clone https://github.com/your-username/basic-chat-app.git
- Navigate to the project directory:
cd basic-chat-app
- Install dependencies for both the client and server:
# Install client dependencies cd client npm install # Install server dependencies cd ../server npm install
- Start the server:
# From the server directory npm start
- Start the client:
# From the client directory npm start
- Open your browser and navigate to http://localhost:3000 to view the chat application.
The client directory contains all the files related to the React.js client-side application.
client │ README.md │ package.json │ ... └───src │ index.js │ App.js │ ... └───components │ │ Chat.js │ │ ... └───assets │ logo.png │ ...
The server directory contains all the files related to the Node.js/Express.js server-side application.
server │ README.md │ package.json │ server.js │ ...
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the developers of React.js and Socket.io for providing powerful tools for building real-time applications.
- Special thanks to all contributors and users for their feedback and support.