Chattify is a powerful and sleek real-time chatting app designed to connect people seamlessly. Experience instant messaging with an intuitive interface, real-time updates, and robust features.
- Real-time Messaging: Instant updates with no delay.
- User Authentication: Secure login and signup with JWT.
- Media Support: Share images via Cloudinary integration.
- Responsive Design: Works beautifully across all devices.
Ensure you have the following installed:
- Node.js (v14 or later)
- npm or yarn
- Clone the repository:
git clone <repository-url> cd backend
- Install dependencies:
npm install
- Set up environment variables in a
.envfile:MONGODB_URI=<your-mongodb-uri> PORT=5001 JWT_SECRET=<your-jwt-secret> CLOUDINARY_CLOUD_NAME=<your-cloudinary-cloud-name> CLOUDINARY_API_KEY=<your-cloudinary-api-key> CLOUDINARY_API_SECRET=<your-cloudinary-api-secret> NODE_ENV=development - Start the backend server:
npm run dev
- Navigate to the frontend folder:
cd frontend - Install dependencies:
npm install
- Start the development server:
npm run dev
To build the application for production:
- Build the frontend:
npm run build
- Start the production server:
npm start
- Ensure you have set the correct environment variables for production.
- Use a platform like Render, Heroku, or Vercel for deployment.
- Frontend: React.js with Vite
- Backend: Express.js with Socket.IO
- Database: MongoDB
- Media Storage: Cloudinary
We welcome contributions! To contribute:
- Fork the repository.
- Create a feature branch.
- Submit a pull request.
Enjoy seamless and real-time communication with Chattify! 🚀