frkntmbs / online-chat-app

Home Page:https://chat-app.tombas.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real-Time Socket Communication in a Single Project with SocketIO + Next.js + Tailwind + Zustand

This project is developed using Next.js, Tailwind CSS, and Zustand to facilitate real-time communication with SocketIO. By leveraging Next.js's custom server, the need for a separate project for SocketIO is eliminated, allowing all functionalities to be contained within a single project.

Technologies

  • Next.js: A web application framework based on React.
  • SocketIO: A library used for real-time communication.
  • Tailwind CSS: A utility-first CSS framework for creating customizable and responsive designs.
  • Zustand: A simple and lightweight state management library for React applications.

Installation

  1. Navigate to the project directory:

    cd project-directory
  2. Install the required packages:

    npm install
  3. Start the development server:

    npm run dev
  4. Open your browser and go to http://localhost:3000 to view the application.

Usage

This project enables users to communicate in real-time. When users connect to the application, they can instantly see messages sent by other users and share their own messages.

Adding Web Notifications and Notification Sound

To enhance user experience, web notifications and notification sounds have been added to this project. Notifications will be triggered for new messages received while the user is not focused on the application.

Contributing

Your contributions are welcome! Please report any issues, make suggestions, or submit a PR (pull request) directly.

License

This project is licensed under the MIT License. For more information, please see the LICENSE file.


This provides basic information about the project's usage and contribution guidelines. Feel free to edit this file to add any additional information or provide more detailed explanations as needed.

About

https://chat-app.tombas.dev/

License:MIT License


Languages

Language:TypeScript 80.5%Language:JavaScript 18.6%Language:CSS 0.9%