Chatify is a web application that allows users to communicate with each other in real-time. It leverages modern web technologies to provide a seamless and interactive chat experience. Users can join chat rooms, send messages, and receive updates instantly.
Make sure you have the following installed:
For any inquiries or feedback, please contact us:
const express = require("express");
const app = express();
const http = require("http").createServer(app);
const io = require("socket.io")(http);
io.on("connection", (socket) => {
console.log("a user connected");
socket.on("chat message", (msg) => {
io.emit("chat message", msg);
});
socket.on("disconnect", () => {
console.log("user disconnected");
});
});
http.listen(3000, () => {
console.log("listening on *:3000");
});"Building Chatify was a journey filled with challenges and learning. Every line of code written was a step towards creating a seamless communication platform. The obstacles faced and overcome have only strengthened my resolve and passion for coding. Remember, persistence and dedication are key to turning ideas into reality."