# Message Station

> A web platform for realtime messaging where users also have personal profiles to showcase their information.

## Role

Full-stack developer (solo)

## Context

A learning project to understand how realtime apps are put together end to end: UI, REST API, authentication, file upload and a live channel between clients.

## Approach

- React with function components and hooks for the UI.
- Express backend structured by the MVC model, querying MongoDB through Mongoose.
- Frontend and backend communicate through a REST API; JWT with refresh tokens and cookie-based sessions for auth.
- Clients talk to each other in real time through Socket.io.
- Avatar uploads handled with Multer middleware; Nodemailer for email.

## Outcome

- Done per the README: sign-up and login with email OTP, password reset, first-login setup, profile pages and real-time text chat.
- Planned but not built: voice and video calls, file messages, mobile layout.

Stack: React, Express.js, Socket.io, JWT, MongoDB, Mongoose, Nodemailer, Multer

Repository: https://github.com/tdphatstudy/ODZ-MessageStation

Source: https://tdphat.io.vn/projects/message-station
