A real-time chat application built using the MERN stack, featuring user authentication and a custom video call functionality.
live-project: Chat-app
- User Authentication: Secure sign-up and login using JWT.
- Real-time Chat: Instant messaging powered by WebSockets.
- Video Calling: Custom-built video call functionality.
- User Profiles: Update profile pictures and user details.
- Media Sharing: Share images, videos, and links within chats.
- Responsive UI: Mobile-friendly interface.
- Frontend: HTML, CSS, JavaScript, EJS
- Backend: Node.js, Express.js
- Database: PostgreSQL
- WebSockets: Socket.io for real-time communication
- Authentication: JWT for secure login
-
Clone the repository:
git clone https://github.com/Manas-githu/A-chat-app-using-socket-and-react.git
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.envfile in the root directory and add:DATABASE_URL=your_database_url JWT_SECRET=your_secret_key
-
Run the development server:
npm start
-
Open the app in your browser:
http://localhost:3000 --backend http://localhost:5713 --frontend
- Implement group chats
- Add end-to-end encryption for messages
- Improve UI/UX with React (optional upgrade)
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.