Chat Messenger is a real-time messaging application designed for seamless and secure communication. It allows users to create chat rooms, send messages, and manage friends. The app is built with a focus on responsiveness and user experience, supporting both desktop and mobile devices.
- User authentication (login and signup)
- Real-time messaging with Socket.IO
- Chat room creation and management
- Friend management and invitations
- Responsive design for mobile and desktop
- Light and dark theme support
- Frontend Framework: React with TypeScript
- State Management: React Context API
- Styling: Mantine UI and custom CSS
- Real-time Communication: Socket.IO
- Build Tool: Vite
- API Integration: Axios for RESTful API calls
Check out the live demo: Chat Messenger
Follow these steps to install and run the application locally:
-
Clone the Repository:
git clone https://github.com/your-username/project-chat-client.git cd project-chat-client
-
Install Dependencies: Make sure you have Node.js installed. Then, run:
npm install
-
Set Up Environment Variables: Create a
.env
file in the root directory and add the following variables:VITE_API_URL=https://project-chat-server.onrender.com
Replace
<your-backend-api-url>
with the appropriate URL for your backend or use my demo server. -
Run the Application: Start the development server:
npm run dev
-
Access the Application: Open your browser and navigate to
http://localhost:5173
. -
Build for Production: To create a production build, run:
npm run build
The build files will be available in the
dist
folder.