Giter VIP home page Giter VIP logo

chat-app's Introduction

Chat App

Overview

This project is a basic chat application that allows users to join different chat rooms and communicate in real-time. The application is built using the following technologies:

  • Node.js: JavaScript runtime for server-side development.
  • Express: Web application framework for Node.js.
  • MongoDB: NoSQL database for data storage.
  • EJS: Templating engine for server-side rendering.
  • Socket.io: Library for enabling real-time, bidirectional communication.

Technology Stack

  • Backend Framework: Express.js
  • Database: MongoDB
  • Templating Engine: EJS
  • WebSockets: Socket.io

Dependencies

Features

  • Real-time communication using Socket.io.
  • Multiple chat rooms for users to join.
  • Server-side rendering of dynamic content using EJS.

How to Use

  1. Clone the repository:

    git clone https://github.com/vishnu-mouli-102408/Chat-App.git
  2. Install dependencies:

    npm install
  3. Configure environment variables:

    • Create a .env file in the project root.
    • Set the following variables in the .env file:
      MONGODB_URI=your_mongodb_connection_string
  4. Run the application:

    npm start
  5. Access the application:

    • Once the application is running, visit http://localhost:3000 (or the specified port) in your web browser.
  6. Join a chat room:

    • Choose or create a chat room and start chatting in real-time with other users.
  7. Explore the Chat App!

Configuration

Ensure to set the following environment variable in your .env file:

  • MONGODB_URI: MongoDB connection string.

License

This project is licensed under the MIT License.

chat-app's People

Contributors

vishnu-mouli-102408 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.