A simple live chatting application built for testers to practice and learn web automation testing.
This is a Next.js project bootstrapped with create-next-app
.
- Clone the repo
- Navigate into the root folder
- Run
npm install
- Run
npm run dev
- Open any browser and navigate to
http://localhost:3000
to start using the live chat playground
- Clone the repo
- Navigate into the root folder
- Run the command
docker build -t live-chat-playground .
to build the app using DockerFile - Start the application by running the command
docker run -it -p 3000:3000 -p 3001:3001 live-chat-playground
- Open any browser and navigate to
http://localhost:3000
to start using the live chat playground
- Clone the repo
- Navigate to the root folder of the project
- Run
docker compose -f docker-compose-chat-playground.yml up -d
- This command will start the application in detached mode - Open any browser and navigate to
http://localhost:3000
to start using the live chat playground - Run
docker compose -f docker-compose-chat-playground.yml down
to stop the application
-
Open any browser and navigate to
http://localhost:3000
to start using live chat app playground- Enter the following mandatory details on the screen to start chatting:
- Name
- Location
- Age
- Select Chat Room
- Select Gender
- Tick the Agree to Terms and condition
- Click on the Start Chatting button to start the chat
- Enter the following mandatory details on the screen to start chatting:
-
Open a new browser on the same machine or Another Tab of same browser and navigate to
http://localhost:3000
- Enter the mandatory details on the screen to start chatting
-
To join within same network: Open a browser and enter the IP address of the network with
port
-3000
- Enter the following mandatory details on the screen to start chatting
-
Once the login is successful, on the next screen you should be able to see the live users list with their Name, Age and Gender
-
The "Enter Message" textbox could be used to type a message and "Send" button can be used to send the message.
-
The "Live Chat" window will show the following details to the user:
- User information of joining, leaving the chat
- Sent and Received Messages
- Logout button to exit the Live Chat
- Discuss your queries by writing to me @
[email protected]
OR ping me on any of the social media sites using the below link: