Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1 KB

README.md

File metadata and controls

36 lines (23 loc) · 1 KB

Banana Car Notification Service

Tired of frantically refreshing Banana Car to find that important ride later today? 😱

Fear not! This application automatically scans for new rides and notifies about them in Discord:

discord_banana_car.png

Discord commands

There are several commands available to manage ride subscriptions. Typing any of them in Discord will provide more information:

  • /rides subscriptions list
  • /rides subscriptions create
  • /rides subscriptions delete

Set up

  1. Make sure to set up application-secrets.properties with following secrets
discord.channelId=replace-secret
discord.token=replace-secret
  1. Run docker build -t bananacar-notification-svc -f Dockerfile .
  2. Start application docker compose up -d

Schema changes

  1. Add new database migration in src/main/resources/db/changelog
  2. Start application
  3. Run ./gradlew :generateJooq

Database classes should now appear in src/main/generated-db-entities