The Worth Reading Service is a Java-based microservice managing the liking functionality for messages.
It is a part of a larger application and provides RESTful APIs to handle likes on messages.
This service utilizes GraalVM to build native images, enabling faster startup times and optimized performance.
Run docker compose with the correct image for your machine to build application and database in container.
- PUT /like/toggleLike/{messageId}
- Header: userId
- GET /like/bulkIsLiked
- Header: userId
- GET /like/isLiked/{messageId}/{userId}
- GET /like/amount/{messageId}
Get users who liked message (Not fully implemented. Requires userservice 2 running on the local machine):
- GET /like/users/{messageId}
- docker pull ghcr.io/chatgut/worthreadingservice:master
- docker pull cchriss123/worthreadingservice:arm64
- docker pull cchriss123/worthreadingservice:jvm