GithubHelp home page GithubHelp logo

utkarshgupta04092003 / chatapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.96 MB

Feel free to use and contribute to this project

Home Page: https://utchatapp.netlify.app/

JavaScript 99.11% HTML 0.44% CSS 0.45%

chatapp's Introduction

EaseChat - Realtime Chat Application

EaseChat is a real-time chat application built using React for the frontend, Express for the backend, MongoDB for data storage, and Socket.io for real-time communication. It provides users with a seamless chatting experience where they can interact with each other in real-time. EaseChat offers personalized chats with registered users and enables the creation of chat groups where members can engage in group conversations.

Table of Contents

  1. Introduction
  2. Prerequisites
  3. Installation
  4. Usage
  5. Technologies Used
  6. Screenshots
  7. License

Prerequisites

Before running EaseChat, ensure that you have the following prerequisites installed on your system:

  • Node.js
  • npm (Node Package Manager)
  • MongoDB

Installation

Follow these steps to install and run EaseChat on your local machine:

  1. Clone the repository:
git clone https://github.com/utkarshgupta04092003/chatapp
  1. Navigate to the project directory:
cd chatapp
  1. Install dependencies for both frontend and backend:
cd frontend
npm install

cd ..
cd backend
npm install
  1. Configure MongoDB:

    • Make sure MongoDB is installed and running on your system or You are using Mongo cloud.
    • Update the MongoDB connection URL in the backend configuration file if necessary.
  2. Setup env file:

    • Inside the backend folder create a .env file and fill in the proper details
PORT = 5000
DB_Name = DB_NAME
DATABASE_URI = YOUR_MONGODB_CLOUD_URL
  1. Run the application:
cd  frontend
npm run dev

cd..

cd backend
npm start
  1. Open your web browser and navigate to http://localhost:5173 to access EaseChat.

Usage

  • Upon opening the application, users can sign up or log in to their accounts.
  • Once logged in, users can personalize chats with registered users by searching for their usernames.
  • Users can also create new chat groups and add registered members to the group.
  • In the chat groups, members can send and receive messages in real-time.
  • The application supports features such as emoji reactions.

Technologies Used

  • Frontend: Vite, React.js, Socket.io-client
  • Backend: Express.js, Socket.io, MongoDB
  • Database: MongoDB
  • Deployment: Render (for backend), Netlify (for frontend)

Screenshots

SignUp Page

image

Personal Chats

image

Chatroom Chats

image

Contributions

Feel free to contribute to this repo.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.