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
Β