This real-time chat application is built using Node.js and utilizes MongoDB with Mongoose schemas for data storage. It enables users to engage in real-time conversations, share locations, and create/join specific rooms for discussions.
- Real-Time Communication: Utilizes WebSockets to facilitate instant messaging among users.
- MongoDB & Mongoose: Stores user information, messages, and room data using MongoDB and Mongoose schema.
- Typing Animation: Indicates when a user starts typing within the chat.
- User Presence: Displays a list of real-time users in the sidebar.
- Location Sharing: Allows users to share their current location with others.
- Room Joining: Enables users to join specific rooms for conversations.
Before starting 🏁, make sure you have Git and Node installed on your system. (npm recommended).
# Clone this project
$ git clone https://github.com/saquelain/chatterUp.git
# Access
$ cd chatterUp
# Install dependencies
$ npm install
# Run the project
$ node index.js
# The server will initialize in the <http://localhost:3000>
.
├── public
└── public
├── app
│ ├── core
│ ├── data
│ ├── layout
│ ├── module
│ └── shared
└── styles
├── public
│ ├ css
│ ├ style.css
│ ├ style.min.css
│ ├ profile
│ ├ <!--all profile images--!>
│ ├ admin.jpg
│ ├ chat.html
│ ├ chat.js
│ ├ index.html
│ ├ notification.mp3
│
│── .env
│── .gitignore
│── README.md
│── db.config.js
│── index.js
│── messages.schema.js
│── package.lock.json
│── package.json
└── user.schema.js