This is a simple real-time chat application built with Node.js and Socket.io. The application allows users to send and receive messages in real-time.
- Real-time messaging
- Simple and clean user interface
- Responsive design
- Node.js
- Socket.io
- HTML/CSS
Make sure you have Node.js installed on your system. You can download it from nodejs.org.
-
Clone the repository:
git clone https://github.com/PerezChris99/Convo-App-Node cd convo-app-node
-
npm install
-
node server.js
-
Open your browser and navigate to http://localhost:3000.
Project Structure ----------------- `
-
public/index.html: The main HTML file for the chat interface.
-
public/chat.js: The client-side JavaScript file for handling real-time communication.
-
server.js: The server-side JavaScript file for handling HTTP requests and WebSocket connections.
-
style.css: The CSS file for styling the chat interface.
-
package.json: The file that contains the project metadata and dependencies.
-
README.md: The file you are currently reading.
-
Open the application in multiple tabs or browsers.
-
Type a message in the input field.
-
Click the "Send" button or press "Enter" to send the message.
-
The message will appear in the chat window and be visible to all connected users in real-time.
Messages are broadcasted to all connected users in real-time using WebSockets provided by Socket.io.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for more information.
If you have any questions, feel free to reach out on telegram https://t.me/BlossomingMoon