This is the frontend for a real-time chatting web application built using React.js, WebSockets, and Lottie animations, with full authentication functionality.
- Real-time messaging using WebSockets
- User authentication (signup, login, logout)
- Animated UI using Lottie animations
- Responsive design
- User-friendly interface
- React.js: JavaScript library for building user interfaces
- WebSockets: Protocol for real-time communication
- Lottie: Library for rendering animations
- React Router: For routing and navigation
- React Redux: For state management
- Styled Components: For styling the components
-
Clone the repository
git clone https://github.com/Upiottxat/Hello-chat-client-react.git
-
Install dependencies
npm install
-
Environment Variables
Create a
.envfile in the root directory and add your environment variables:REACT_APP_API_URL=http://localhost:5000/api REACT_APP_WS_URL=ws://localhost:5000/ws
-
Start the development server
npm start
The application will be available at
http://localhost:3000.
- Signup: Users can sign up with their email and password.
- Login: Users can log in with their email and password.
- Logout: Users can log out of their account.
- Join a Chat: Users can join a chat room.
- Send Messages: Users can send messages in real-time.
- Receive Messages: Users can receive messages in real-time.
- Lottie Animations: Various animations are used to enhance the user experience.