/project-reactor-lab

A skelleton project for a lab on project reactor

Primary LanguageKotlinApache License 2.0Apache-2.0

Project Reactor Lab

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.

Prerequisites

  1. Install and run mongodb
  2. Clone this repository and open in it your favorite IDE

Instructions

Essentially find all TODO()'s in the application and implement them:

  1. Store chat messages in capped MongoDB collection
  2. Stream from this collection and publish messages as server-sent events to connected JS clients
  3. Only return the 30 last messages when joining the chat
  4. Filter out swear words of choice (tip: "Skånerost")
  5. Realtime sentiment analysis, how does the system behave? (see here for instructions)
  6. Lookup/translate words from external source

Start the app using:

$ mvn spring-boot:run