/Realtime-Chat-App-SQLite

real-time chat functionality and SQLite for message persistence.

Primary LanguageJavaScriptMIT LicenseMIT

Chat Application

A real-time chat application built with Node.js, Express, Socket.IO, and SQLite. This application allows users to chat with each other in real-time, and messages are stored in a SQLite database for persistence.

Features

  • Real-time messaging between users
  • Message persistence using SQLite
  • User-friendly interface

Installation

To install and run this chat application on your local machine, follow these steps:

  1. Clone this repository:

git clone https://github.com/imabee101/Realtime-Chat-App-SQLite.git

  1. Navigate to the project directory:

cd chat-application

  1. Install the required dependencies:

npm install

  1. Start the application:

  2. Open your browser and navigate to http://localhost:3000 to use the chat application.

Usage

  1. Enter your username in the input field and click the "Submit" button.
  2. Start typing your message in the input field at the bottom of the page and press the "Send" button or press "Enter" to send the message.
  3. Your message will be displayed in the chat window, and other users connected to the application will see the message in real-time.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

  1. Fork the repository.
  2. Create a new branch for your changes (git checkout -b feature/your-feature).
  3. Make your changes.
  4. Commit and push your changes to the new branch (git add . && git commit -m "Add your feature" && git push origin feature/your-feature).
  5. Open a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for more information.