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.
- 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.
- ReactJS
- JavaScript (ES6+)
- HTML5
- CSS3
- Vite
- Git and GitHub
chat-application/
├── public/
├── src/
│ ├── App.jsx
│ ├── App.css
│ └── main.jsx
├── index.html
├── package.json
├── package-lock.json
├── .gitignore
└── README.md
Make sure you have the following installed:
- Node.js
- npm (included with Node.js)
- Git (optional, for version control)
1. Clone the repository
git clone [https://github.com/Prity25-coder/chat-application]2. Navigate to the project directory
cd chat-application3. Install dependencies
npm install4. Start the development server
npm run dev5. Open the application
Open the local URL displayed in your terminal, usually:
http://localhost:5173
- Open the chat application.
- Type your message into the input field.
- Click the Send button or press Enter.
- Your message will appear in the chat thread above the input box.
- Continue sending messages to test the application.
Add a screenshot of your completed application here.
![Chat Application Live]["https://chat-application-kappa-blue.vercel.app/"]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.