Anandkr21 / Mini-Whatsapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini Chat Application

This is a mini chat application built using Socket.io. It allows users to join a group chat, send messages, and view chat history.

Prerequisites

  • Node.js and npm should be installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/Anandkr21/Mini-Whatsapp.git
  2. Navigate to the project directory:

    cd mini-chat-application
  3. Install the dependencies:

    npm install

Usage

  1. Start the server:

    npm start
  2. Open a web browser and go to http://localhost:8080 to access the chat application.

  3. You can create an account, log in, and start chatting with other users.

API Routes

  • GET /api: Retrieves the list of users.

  • POST /api/signup: Creates a new user account.

  • POST /api/login: Logs in an existing user.

  • GET /api/messages/:name: Retrieves the chat history for a specific user.

Technologies Used

  • Node.js
  • Express.js
  • Socket.io
  • MongoDB

Acknowledgements

This project was created as part of a learning experience and is not intended for production use.

Contact 📬

If you have any questions or suggestions, please feel free to contact at 📬 anandkumarguptakg15@gmail.com

About


Languages

Language:JavaScript 77.1%Language:HTML 22.9%