Skip to content

Latest commit

Β 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WEYAPP β€” Real-Time Chat App

A full-stack, real-time chat application:

  • Frontend: React + Vite (JSX), Tailwind CSS, Socket.IO client, React Router
  • Backend: Node.js + Express, Socket.IO, MongoDB (Mongoose), JWT auth, Nodemailer

Features

  • Sign up, log in, log out
  • Email verification on signup (real email via Gmail SMTP, or console-logged in dev if unconfigured)
  • Forgot password / reset password via emailed link
  • Add other users and start 1:1 conversations
  • Real-time messaging (Socket.IO) β€” text + image messages
  • Typing indicators, online/offline presence, "last seen"
  • Profile page: avatar upload, phone number, bio
  • Settings page: log out

Project structure

chatapp/
β”œβ”€β”€ client/          React frontend (Vite)
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ api/         API call wrappers (axios) β€” one file per backend resource
β”‚   β”‚   β”œβ”€β”€ context/     AuthContext, SocketContext (global state)
β”‚   β”‚   β”œβ”€β”€ hooks/        useConversations, useMessages (data + real-time logic)
β”‚   β”‚   β”œβ”€β”€ components/  Reusable UI building blocks
β”‚   β”‚   β”œβ”€β”€ pages/        Route-level screens
β”‚   β”‚   └── utils/        Formatting helpers
β”‚   └── .env             VITE_API_URL β€” where your backend lives
β”‚
└── server/          Express backend
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ config/       DB + Cloudinary setup
    β”‚   β”œβ”€β”€ models/       Mongoose schemas: User, Conversation, Message
    β”‚   β”œβ”€β”€ controllers/  Route handler logic
    β”‚   β”œβ”€β”€ routes/        Express routers
    β”‚   β”œβ”€β”€ middleware/   Auth guard, file upload handling
    β”‚   β”œβ”€β”€ sockets/       Socket.IO real-time event handlers
    β”‚   └── utils/         JWT helpers, email sending, demo data seeder
    └── .env             All secrets and config (DB, JWT, email, uploads)

About

Chat

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages