Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.27 KB

chatwebsockets.md

File metadata and controls

24 lines (18 loc) · 1.27 KB

DEVELOP A CHAT BASED ON WEBSOCKETS

DESCRIPTION

The goal of this challenge is to develop a chat based on websockets. The chat should allow users to send and receive messages in real time. 
(Optional) The chat should also allow users to send and receive images.
(Optional) The chat should keep the session to start again from where it was left off.

INSTRUCTIONS

1. Choose a programming language of your choice.

    - You can use the following API to get a list of random users https://randomuser.me/api/?results=10
    - you can use the following API to get a list of random images https://picsum.photos/v2/list?page=2&limit=100
    - you can use socket.io to implement the chat https://socket.io/docs/v4/index.html
    - you have an initial index.html file in the root of the project that you can use as a starting point

2. Develop the chat. You can use the following steps as a guide:

    - Allow users to send and receive messages in real time.
    - (Optional) Create a chat with a login screen.
    - (Optional) Allow users to send and receive images.
    - (Optional) Keep the session to start again from where it was left off.

Use Copilot chat to support your learning and development. Use Copilot to speed up your development.