Wire app for the polls.
Based on Wire Applications JVM SDK, which offers full support for MLS.
Previous Poll Bot implementation was based on Roman therefore did not employ E2EE directly, and worked with Proteus protocol only.
Basic usage
/poll "Question" "Option 1" "Option 2"will create poll/poll helpto show help/poll versionprints the current version of the poll app
- Kotlin + JDK 21
- Ktor HTTP Server - Ktor
- Dependency Injection - Kodein
- Build system - Gradle
- Communication with Wire Applications JVM SDK
- The app needs Postgres database up & running - we use one in docker-compose.yml, to start it up, you can use
command
make db. - To run the application execute
make runor./gradlew run. - To run the application inside the docker compose environment run
make up.
For more details see Makefile.
Configuration is currently being loaded from the environment variables.
Via the system variables - see complete list.
And also the env variables required by Wire Applications JVM SDK
To run app inside docker compose environment with default PostgreSQL database,
please create .env file in the root directory, starting from the .env.sample file.