Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manni2000/web-chatapp
MERN Stack Web-Chat-Application
https://github.com/manni2000/web-chatapp
mern-stack socket-io
Last synced: about 5 hours ago
JSON representation
MERN Stack Web-Chat-Application
- Host: GitHub
- URL: https://github.com/manni2000/web-chatapp
- Owner: manni2000
- Created: 2024-08-08T06:15:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T07:36:17.000Z (3 months ago)
- Last Synced: 2024-08-24T08:39:16.193Z (3 months ago)
- Topics: mern-stack, socket-io
- Language: JavaScript
- Homepage:
- Size: 4.23 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web-chatApp
The Web-chatApp is a real-time chat application that allows users to communicate with each other in an interactive manner. It features functionalities such as user authentication, real-time messaging, and user management. The application is designed to be responsive, providing a seamless experience across various devices.#### Technologies Used:
1. **Frontend:**
- **React**: For building the user interface.
- **Material-UI**: For UI components and styling.
- **React Router**: For client-side routing.
2. **Backend:**
- **Node.js**: JavaScript runtime environment.
- **Express**: Web framework for Node.js.
- **Socket.io**: For real-time communication.
3. **Database:**
- **MongoDB**: NoSQL database for storing user data and messages.
- **Mongoose**: ODM for MongoDB.
4. **Authentication:**
- **JWT**: For securing user authentication.#### Functionality:
- Real-time chat communication between two-parties.
- User authentication and authorization.
- Message history storage and retrieval.
- Online status indication.
- Responsive design for different devices.#### Local Setup Instructions:
1. **Clone the Repository:**
```bash
git clone https://github.com/manni2000/Web-chatApp.git
cd Web-chatApp
```2. **Setup Backend:**
```bash
cd server
npm install
npm start
```3. **Setup Frontend:**
```bash
cd ../client
npm install
npm start
```4. **Environment Variables:**
- Create a `.env` file in the `server` directory with the following:
```env
PORT=8080
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
```5. **Access the Application**: Open your browser and navigate to `http://localhost:3000`
# Preview![login](https://github.com/user-attachments/assets/555cee4b-545f-41eb-bb7a-2230db8d5cc6)
![Signup](https://github.com/user-attachments/assets/7d9873bf-bcca-4c77-aec5-7655748f2f68)
![chat](https://github.com/user-attachments/assets/bae10543-23b2-4456-ac48-1b9025431369)