Welcome to Chatty! This application allows users to chat in real-time, share messages, and upload photos seamlessly.
- Real-time messaging powered by Socket.IO.
- Photo sharing: Upload photos to Cloudinary and share them instantly.
- State management using Zustand.
- Frontend built with React and styled using DaisyUI with 15+ customizable themes.
- Backend developed using Node.js and Express.js.
- Database: All data is stored in MongoDB.
- Responsive Design: Fully optimized for desktop and mobile devices.
The project has been deployed on Render. You can access it at: (https://full-stack-chat-app-4.onrender.com/)
- React
- DaisyUI (TailwindCSS-based component library)
- Zustand (State management)
- Node.js
- Express.js
- Socket.IO
- MongoDB
- Cloudinary (for image storage)
Follow these steps to set up the project locally:
- Node.js (v14 or later)
- MongoDB (local or cloud)
- Cloudinary account
-
Clone the Repository
git clone https://github.com/harsh-panchal-804/Full-Stack-Chat-App
-
Install Dependencies
# Install server dependencies cd FrontEnd npm install # Install client dependencies cd BackEnd npm install
-
Set Up Environment Variables Create
.env
files in both theserver
andclient
directories.Server
.env
:MONGO_URI=your-mongodb-connection-string CLOUDINARY_CLOUD_NAME=your-cloudinary-cloud-name CLOUDINARY_API_KEY=your-cloudinary-api-key CLOUDINARY_API_SECRET=your-cloudinary-api-secret PORT=5000
-
Run the Application
# Start the server cd BackEnd npm run dev # Start the client cd FronEnd npm run dev
Feel free to submit a pull request or open an issue for any suggestions or improvements.