Skip to content

wojciech-zurek/mattermost-nbp

Repository files navigation

mattermost-nbp

Mattermost slash command application. This app shows current exchange rates for currencies and gold from National Bank of Poland (NBP).

Mattermost

More info:

Supported languages:

  • polish

Supported Mattermost response type:

  • ephemeral
  • in_channel

Endpoints

Server: http://localhost:8080

    GET /api/nbp

Download

    git clone git@github.com:wojciech-zurek/mattermost-nbp.git

Run with gradle

    cd mattermost-nbp/
    ./gradlew bootRun

Run as jar file

    cd mattermost-nbp/
    ./gradlew bootJar
    java -jar build/libs/mattermost-nbp-0.0.1-SNAPSHOT.jar

Build Docker image

    cd mattermost-nbp/
    ./build.sh

Run Docker image

    docker run -p 8080:8080 eu.wojciechzurek/mattermost-nbp:latest