java API websockets

Chat API

a simple chat API using Java and Socket.io

โฑ๏ธ Time Breakdown

๐Ÿ“‹
Planning
~1 hours
๐Ÿ’ป
Coding
~2 hours
๐Ÿงช
Testing
~1 hours

๐Ÿ“Š Difficulty

MEDIUM

๐ŸŽ“ Learning Outcomes

  • โ€ข Working with REST APIs
  • โ€ข Managing application state
  • โ€ข Creating responsive layouts

Chat API

A chat application API allows users to send and receive messages in real-time using a server-side language and a websocket library like Socket.io. In this project, you will create a basic chat application API using Java and Socket.io.

Create a Basic Chat API

Requirements

  • A way for users to send and receive messages in real-time using Socket.io
  • A way to store the messages in a database
  • A way to retrieve the messages from the database and display them to users

Bonus

  • Can you add authentication and authorization to the API, so that only authorized users can access the chat feature?
  • Can you add support for group chats, where multiple users can participate in the same chat room?

Hint

You can use a library like Socket.io to implement the websocket functionality for this project.

โ˜ฐ

Project Requirements

Progress Tracker 0 of 7 completed

Share Project