Skip to content

About

A responsive single-page chat application developed using ReactJS for a UI Developer Internship assignment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

ReactJS Chat Application 💬

A simple, responsive, single-page chat application built with ReactJS as part of a UI Developer Internship Assignment.

Users can type a message and send it to display it instantly in the chat message thread.

✨ Features

  • Send and display chat messages dynamically.
  • Clean and user-friendly interface.
  • Responsive design for desktop and mobile devices.
  • Send messages using the Send button or Enter key.
  • Display message timestamps.
  • Prevent empty messages from being sent.
  • Automatically scroll to the latest message.
  • Built using React functional components and hooks.

🛠️ Technologies Used

  • ReactJS
  • JavaScript (ES6+)
  • HTML5
  • CSS3
  • Vite
  • Git and GitHub

📁 Project Structure

chat-application/
├── public/
├── src/
│   ├── App.jsx
│   ├── App.css
│   └── main.jsx
├── index.html
├── package.json
├── package-lock.json
├── .gitignore
└── README.md

🚀 Getting Started

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm (included with Node.js)
  • Git (optional, for version control)

Installation

1. Clone the repository

git clone [https://github.com/Prity25-coder/chat-application]

2. Navigate to the project directory

cd chat-application

3. Install dependencies

npm install

4. Start the development server

npm run dev

5. Open the application

Open the local URL displayed in your terminal, usually:

http://localhost:5173

💬 How to Use

  1. Open the chat application.
  2. Type your message into the input field.
  3. Click the Send button or press Enter.
  4. Your message will appear in the chat thread above the input box.
  5. Continue sending messages to test the application.

📸 Screenshots

Add a screenshot of your completed application here.

![Chat Application Live]["https://chat-application-kappa-blue.vercel.app/"]

📌 Assignment Scope

This project focuses on the frontend implementation of a chat interface. It demonstrates React state management, event handling, input validation, and responsive UI design.

Note: This is a frontend-only application. Messages are stored in React state and are not saved permanently. Backend integration and real-time messaging between different users are not included.

Developed as part of a UI Developer Internship Assignment.

About

A responsive single-page chat application developed using ReactJS for a UI Developer Internship assignment.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages