O-Chat is a simple chat application built with Node.js and Socket.IO. It allows users to join chat rooms and send messages in real-time.
JavaScript
Express
: Fast, unopinionated, minimalist web framework for Node.jsSocket.io
: Fast and reliable library for creating real-time web applications with WebSocket and fallback support.
To get started with O-Chat, you'll need to clone the repository and install the dependencies:
-
Clone the repo to your local machine:
git clone https://github.com/omarsabra1/O-chat.git
. -
Install the dependencies using NPM:
cd O-chat
. -
Install the necessary dependencies:
npm install
.
- To run the app in development mode, use:
npm run dev
. - To run the app in production mode, use:
npm run start
.
The application code is organized as follows:
app.js
: The entry point of the application and he have all logic in server side.public/js/main.js
: the client side operations