This is a simple chat application built with Node.js, Express, and Socket.IO. It allows users to send messages in real-time and incorporates a basic AI to respond to certain Keywords.
- HTML
- CSS
- JavaScript
- Node.js
- Express.js
- Socket.IO
- To run this application locally, you'll need to have Node.js and npm (Node Package Manager) installed on your machine. Follow these steps to get started
- Clone the Repository Clone this repository to your local machine using the following command:
git clone https://github.com/your-username/chat-application.git- Navigate to the Project Directory Navigate into the project directory:
cd server- Install Dependencies Install the necessary dependencies by running:
npm install expressnpm install path npm install socket.io- Start the Server Start the server by running:
npm start- By default, the server will run on port 5001. You can access the application by visiting http://localhost:5001 in your web browser.
Once the server is running, open the application in your web browser. You can start sending messages in the chat section. The AI component will respond to certain keywords with predefined messages.
Screen.Recording.2024-04-21.at.9.30.23.PM.mov
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/my-feature).
- Make your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/my-feature).
- Create a new pull request.
This project is licensed under the MIT License - see the LICENSE file for details.