Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinayak700/mern-chat-app
A Full Stack Chat Application using MERN Stack with Cloudinary image storage and socket.io.
https://github.com/vinayak700/mern-chat-app
cloudinary express mongodb nodejs react reactjs redux socket-io
Last synced: 3 days ago
JSON representation
A Full Stack Chat Application using MERN Stack with Cloudinary image storage and socket.io.
- Host: GitHub
- URL: https://github.com/vinayak700/mern-chat-app
- Owner: vinayak700
- Created: 2024-05-21T16:53:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T05:08:09.000Z (5 months ago)
- Last Synced: 2024-06-13T08:44:16.486Z (5 months ago)
- Topics: cloudinary, express, mongodb, nodejs, react, reactjs, redux, socket-io
- Language: JavaScript
- Homepage: https://uhoochat.netlify.app
- Size: 15 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build Chat App with React, Socket.io, Nodejs, Redux-Toolkit, MongoDB
# Project Overview
Welcome to our stunning MERN application project! This project involves building a modern MERN Chat Application with interactive features. Below, you'll find the URLs for the client and server applications, along with the required tech stacks.
## Since Render does not support wesocket, I recommend you to please test this application on your local machine only.
### Client Application
🚀 **[Client URL](https://uhoochat.netlify.app/)**
The client application is built using React, providing a dynamic and interactive user interface. It offers seamless navigation and responsiveness across devices.
### Server Application
🔧 **[Server URL](https://mern-chat-app-6dwh.onrender.com)** (For Live Testing, load this server to spin up the activity on render before running the application)
The server application is powered by Node.js and Express.js, providing robust backend APIs for handling user requests and interacting with the database. MongoDB is used as the database to store user data securely.
## Project Setup Guide
### Clone the Github Repo
```sh
git clone [email protected]:vinayak700/MERN-Chat-App.git
```This guide covers the setup process for both the Client and Server sides of your application.
## Client Setup
### Installing Dependencies
```sh
npm install
```
## Environment VariablesTo set up environment variables, follow these steps:
1. Create a `.env` file inside your client root directory.
2. Open the `.env` file using a text editor.
3. Add the following environment variables in the `.env` file:
```plaintext
REACT_APP_CLOUDINARY_CLOUD_NAME =
REACT_APP_BACKEND_URL =
### Starting the ClientTo start the client, follow these steps:
1. Navigate to the Client directory:
```sh
cd ./client
```2. Then start the client:
```sh
npm run start
```
## Server Setup### Installing Dependencies
To install dependencies for the server, run the following command:
```sh
npm install
```## Environment Variables
1. Navigate to the Server directory:
```sh
cd ./Server
```## Create .env File and Add Environment Variables
1. Navigate to your Server directory.
2. Create a `.env` file inside your Server directory.
3. Add the following environment variables to the `.env` file:
```plaintext
FRONTEND_URL =
MONGODB_URI=YOUR_MONGOATLAS_KEY
JWT_SECRET_KEY=YOUR_SECRET_KEY
CLOUDINARY_CLOUD_NAME=YOUR_CLOUDINARY_CLOUD_NAME
CLOUDINARY_API_KEY=YOUR_CLOUDINARY_API_KEY
CLOUDINARY_API_SECRET=YOUR_CLOUDINARY_SECRET_KEY
```
## Starting the ServerTo start the server, run the following command:
```sh
npm run start
```## Tech Stacks
- **Frontend**: React
- **Backend**: Node.js, Express.js
- **Database**: MongoDB
- **Image Storage**: Cloudinary
- **Authentication**: JWT (JSON Web Tokens)
- **Encryption**: bcryptThese tech stacks ensure a modern, scalable, and secure web application that meets the highest standards of performance and user experience.
Let's build something amazing together!