Skip to content

A Mini chat Web application built with Node.js, Express, MongoDB, and EJS. Supports creating, editing, and deleting messages, plus managing personal contacts. Clean MVC structure, RESTful routes, and user-friendly forms make it ideal for learning full-stack web development basics.

Notifications You must be signed in to change notification settings

OmBarabhai/Mini-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗨️ Mini Chat App

A minimal chat and contact manager built with Node.js, Express, MongoDB, and EJS. Users can send messages, view chat history, and manage contacts. Styled simply for clarity and learning purposes.


🚀 Features

  • 📩 Send and receive messages between users
  • 📖 View all chat messages in chronological order
  • 📝 Edit or delete messages

🛠️ Tech Stack

  • Backend: Node.js, Express, MongoDB, Mongoose
  • Frontend: EJS templating engine, Bootstrap (optional)
  • Others: Method-override for PATCH/DELETE requests

## 📁 Project Structure
Mini-Chat/
├── public/
│   ├── css/
│   │   └── style.css              # Styling for chat UI
│   ├── js/
│   │   └── client.js              # Client-side socket logic
│   └── images/                    # (Optional) Project images or logos
│
├── views/
│   └── index.ejs                  # Main chat page template
│
├── .gitignore                     # Git ignored files (e.g., node_modules)
├── package.json                   # Project dependencies and scripts
├── server.js                      # Main server file (Express + Socket.IO)
└── README.md                      # Project overview and setup guide



📸 Screenshots

💬 Chat Page

Mini Chat Screenshot

🖊️ Edit Message

Edit Chat Message

🆕 New Chat

New Chat Message

You can update the image URLs if you upload your own screenshots.


🔧 Local Setup

  1. Clone the repo

git clone https://github.com/OmBarabhai/minichat.git

cd minichat

Install dependencies

npm install

Set up MongoDB

Make sure MongoDB is running locally or connect using MongoDB Atlas.

You can update the MongoDB connection string inside server.js.

Start the server

node server.js
http://localhost:8080/chats

About

A Mini chat Web application built with Node.js, Express, MongoDB, and EJS. Supports creating, editing, and deleting messages, plus managing personal contacts. Clean MVC structure, RESTful routes, and user-friendly forms make it ideal for learning full-stack web development basics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published