YC
Back to projects

Real-time / Social

Real-Time Chat Application

A real-time messaging application built as a final-year graduation project — authentication, instant messaging, image sharing, and a contacts list with presence.

React.jsNode.jsExpress.jsSocket.IOAuthentication

The real workflow, as built

Overview

A final-year graduation project demonstrating real-time system design: message delivery, presence, and media sharing without page reloads.

Problem

The brief was to build a functioning real-time system rather than a static demo — messages needed to arrive instantly, and the interface needed to feel close to a production messaging app.

Solution

A React frontend paired with a Node.js and Express backend over Socket.IO delivers instant messaging, a contacts list with online/offline status, image sharing, and authenticated user profiles.

Main features

  • Authentication (sign up / sign in)
  • Real-time messaging via Socket.IO
  • Image sharing in conversations
  • Contacts list with online status
  • User profile management
  • Responsive UI

Architecture

1

React Frontend

Sign-in, contacts list, and chat window UI, kept in sync with socket events.

2

Node.js / Express Backend

REST endpoints for authentication and profile data.

3

Socket.IO Layer

Real-time message delivery and online/offline presence between connected clients.

4

Media Storage

Handles image uploads shared inside conversations.

My role

  • Designed and built the full frontend in React.js.
  • Built the Node.js/Express backend and Socket.IO event handling.
  • Implemented authentication and profile management.
  • Designed the interface for sign-in, contacts, and the chat window.

Challenges & solutions

Keeping message delivery instant and reliable across multiple connected clients.

Used Socket.IO rooms and events to push messages directly to connected recipients, falling back to REST-fetched history on reconnect.

Showing accurate online/offline presence without polling.

Tracked connected sockets per user on the server and broadcast presence changes on connect/disconnect events.

Sharing images in conversations without slowing down the chat.

Uploaded images separately from the message payload and referenced them by URL, keeping socket messages small and fast.