Welcome to the Video Player with Chat repository! This project provides a platform where users can watch videos together and engage in real-time chat with their friends. You can access the deployed version of this application https://live-chat-sonw.onrender.com .
- Video Player: Watch videos seamlessly within the application.
- Real-time Chat: Communicate with friends while watching videos together.
- Secure Authentication: User authentication powered by JSON Web Tokens (JWT) ensures secure access.
- Dependency Management: Utilizes various dependencies for smooth functionality.
- Node.js: A runtime environment for running JavaScript on the server-side.
- Express.js: A web application framework for Node.js to build APIs and web apps.
- MongoDB: A NoSQL database used for storing user data and chat messages.
- Socket.IO: A library enabling real-time, bidirectional, and event-based communication between web clients and servers.
- EJS: A simple templating language that generates HTML markup with plain JavaScript.
- Zod: A TypeScript-first schema declaration and validation library.
- Body-parser: Middleware for parsing incoming request bodies in Express.
- Dotenv: Loads environment variables from a
.env
file intoprocess.env
.
- Clone the repository:
git clone https://github.com/EswarPranavNadhHari/LiveChat.git
- Install dependencies:
npm install
- Set up environment variables: Create a
.env
file based on the code and fill in the necessary variables. - Start the server:
npm start
- Navigate to the application URL in your browser.
- Sign up or log in to access the video player and chat features.
- Start watching videos and enjoy chatting with friends in real-time!
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/improvement
) - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature/improvement
) - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the creators of the dependencies used in this project for their valuable contributions.