Skip to content
/ Prefixy Public

Project demonstrates how to get and update autocomplete suggestions

License

Notifications You must be signed in to change notification settings

ivpal/Prefixy

Repository files navigation

Prefixy

architecture

Prefixy is an application that powers autocomplete suggestions. Suggestions dynamically update in response to user selection, so users only see the most relevant data. Suggestions are stored in Redis in auto-complete suggestion dictionary. The user's selection is sent as an event to Redpanda. Event processor processes events and updates data in Redis.

Packaging and running the application

git clone https://github.com/ivpal/Prefixy.git
cd Prefixy/

You need Java 21 or higher to package and run the application.

Run the application in dev mode:

docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d redpanda redis jaeger-all-in-one
./gradlew api:quarkusDev
./gradlew processor:quarkusDev

Run the application in containers:

./gradlew api:imageBuild
./gradlew processor:imageBuild
docker compose up -d

Usage

After launching the application, the swagger will be available via the link http://localhost:8080/q/swagger-ui/#/ swagger

If you want to see traces, go to Jaeger UI via link http://localhost:16686

jaeger

jaeger-trace

About

Project demonstrates how to get and update autocomplete suggestions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages