/slhs-chat

Lite Chat is a lightweight chat application built with Node.js, Express, and Socket.IO. It is designed for real-time communication without the need for a persistent database.

Primary LanguageSCSSMIT LicenseMIT

Lite Chat

nodejs express js socket.io webpack javascript sass tailwindcss

License: MIT

Lite Chat is a lightweight chat application built with Node.js, Express, and Socket.IO. It is designed for real-time communication without the need for a persistent database.

Features

  • Real-time communication: Lite Chat uses Socket.IO to enable real-time messaging between users.
  • Lightweight: The application is built to be lightweight and does not require a persistent database.
  • User-friendly interface: The chat interface is simple and intuitive, allowing users to easily send and receive messages.

Usage

Once the Lite Chat application is running, open it in your web browser. You will be prompted to enter a username to join the chat room. After entering your username, you can start sending and receiving messages in real-time.

Installation

To install and run Lite Chat, follow these steps:

  1. Clone the repository: git clone https://github.com/arashyeganeh/Lite-Chat
  2. Navigate to the project directory: cd Lite-Chat
  3. Install the dependencies: npm install
  4. Build scripts and assets: npm run build
  5. Start the application: npm start

The application will be accessible at http://localhost.

Development

To contribute to Lite Chat or customize it to your needs, you can follow these steps:

  1. Clone the repository: git clone https://github.com/arashyeganeh/Lite-Chat
  2. Navigate to the project directory: cd Lite-Chat
  3. Install the dependencies: npm install
  4. Start the development server: npm run dev

The development server uses nodemon and concurrently watches for changes in both the client-side code (Tailwind CSS) and server-side code (Node.js and Express). Any changes you make will automatically trigger a restart of the server.

To build the Tailwind CSS stylesheets, use the following command:

npm run build

Dependencies

Lite Chat relies on the following dependencies:

  • NodeJs
  • express
  • socket.io
  • Webpack
  • Sass
  • Tailwind css

These dependencies are automatically installed when running npm install.

Author

Lite Chat was developed by Arash Yeganeh.

License

This project is licensed under the MIT License.