Skip to content

EswarPranavNadhHari/LiveChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Player with Chat

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 .

Features

  • 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.

Technologies Used

  • 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 into process.env.

Installation

  1. Clone the repository: git clone https://github.com/EswarPranavNadhHari/LiveChat.git
  2. Install dependencies: npm install
  3. Set up environment variables: Create a .env file based on the code and fill in the necessary variables.
  4. Start the server: npm start

Usage

  1. Navigate to the application URL in your browser.
  2. Sign up or log in to access the video player and chat features.
  3. Start watching videos and enjoy chatting with friends in real-time!

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement)
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature')
  5. Push to the branch (git push origin feature/improvement)
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the creators of the dependencies used in this project for their valuable contributions.