A skelleton project for a lab on project reactor and Spring Webflux.
The purpose is to write a simple chat application to get a feeling for reactive programming with Spring.
- Install and run mongodb
- Clone this repository and open in it your favorite IDE
Essentially find all TODO()
's in the application and implement them:
- Store chat messages in capped MongoDB collection
- Stream from this collection and publish messages as server-sent events to connected JS clients
- Only return the 30 last messages when joining the chat
- Filter out swear words of choice (tip:
"Skånerost"
) - Realtime sentiment analysis, how does the system behave? (see here for instructions)
- Lookup/translate words from external source
Start the app using:
$ mvn spring-boot:run