Skip to content

real-time-chat chat-application nodejs react socketio reactjs

Notifications You must be signed in to change notification settings

Yudis-bit/chatrealtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Real-time Chat Application

Welcome to the Real-time Chat Application! This project demonstrates a simple yet powerful chat application built with modern web technologies including Node.js, Express, Socket.io, and React. The app features real-time messaging with user authentication, ensuring a seamless and interactive user experience.

🚀 Features

  • Real-time Messaging: Experience instant communication with WebSocket technology.
  • User Authentication: Secure user login and chat participation.
  • Responsive Design: A clean and responsive interface powered by Bootstrap.
  • Cross-Browser Support: Compatible with modern web browsers.

🛠️ Technologies Used

  • Frontend: React, Bootstrap
  • Backend: Node.js, Express, Socket.io
  • State Management: React Hooks
  • Real-time Communication: Socket.io

📦 Project Structure

project-root
├── backend
│   ├── node_modules
│   ├── package.json
│   ├── server.js
│   └── .gitignore
├── frontend
│   ├── node_modules
│   ├── public
│   ├── src
│   │   ├── components
│   │   │   └── Chat.js
│   │   ├── App.css
│   │   ├── App.js
│   │   ├── index.css
│   │   ├── index.js
│   │   └── socket.js
│   ├── package.json
│   └── .gitignore
└── README.md

🏁 Getting Started
Follow these steps to get the project up and running on your local machine.

Prerequisites
Ensure you have the following installed:

Node.js (v12 or higher)
npm (v6 or higher)

Installation
1. Clone the repository:
git clone https://github.com/username/repository.git
Navigate to the project directory:
cd repository
2. Install backend dependencies:
cd backend
npm install
npm run dev
3. Install frontend dependencies:
cd ../frontend
npm install
npm start
Running the Application
Open http://localhost:3000 in your browser.
Join the chat with different usernames in different tabs or browsers.
🌐 Usage
Join the Chat: Enter a username to join the chat room.
Send Messages: Type your message and hit the send button to communicate in real-time.
Real-time Updates: See messages from other users appear instantly.
🤝 Contributing
Contributions are welcome! Please fork the repository and submit pull requests.

Fork the Repository
Create a Feature Branch:

git checkout -b feature/AmazingFeature
Commit Your Changes:

git commit -m 'Add some AmazingFeature'
Push to the Branch:

git push origin feature/AmazingFeature
Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments
Inspiration from various online tutorials and documentation.
Special thanks to the open-source community for their valuable resources.
Feel free to reach out if you have any questions or suggestions. Happy coding!

About

real-time-chat chat-application nodejs react socketio reactjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published