Go to file
2025-06-05 18:20:43 +02:00
.fleet Project initialized 2025-04-17 13:06:25 +02:00
.github/workflows fix SQLite 2025-06-05 16:02:42 +02:00
composeApp init home and upgrade gradle-properties 2025-04-18 00:38:54 +02:00
data Styling 2025-06-05 18:20:43 +02:00
gradle fix(compose): Change server host port mapping to 8081 to avoid local conflict 2025-04-20 16:19:17 +02:00
kotlin-js-store Project initialized 2025-04-17 13:02:03 +02:00
server Styling 2025-06-05 18:20:43 +02:00
shared erste Version Online-Nennen 2025-06-05 12:57:07 +02:00
.editorconfig fix(compose): Change server host port mapping to 8081 to avoid local conflict 2025-04-20 16:19:17 +02:00
.gitignore fix(server): Read database config directly from environment variables 2025-04-18 22:01:20 +02:00
analysis.md fix(compose): Change server host port mapping to 8081 to avoid local conflict 2025-04-20 16:19:17 +02:00
build.gradle.kts Project initialized 2025-04-17 13:02:03 +02:00
docker-compose.yml fix SQLite 2025-06-05 16:02:42 +02:00
Dockerfile fix Docker 2025-06-05 14:05:53 +02:00
gradle.properties fix(compose): Change server host port mapping to 8081 to avoid local conflict 2025-04-20 16:19:17 +02:00
gradlew init home and upgrade gradle-properties 2025-04-18 00:38:54 +02:00
gradlew.bat Project initialized 2025-04-17 13:02:03 +02:00
LICENSE Create LICENSE 2025-04-17 13:19:13 +02:00
README.md fix SQLite 2025-06-05 16:02:42 +02:00
settings.gradle.kts init home and upgrade gradle-properties 2025-04-18 00:38:54 +02:00

Jetzt funktioniert es Funktioniert es jetzt ich versuche noch einmal einen pull request

This is a Kotlin Multiplatform project targeting Web, Desktop, Server.

  • /composeApp is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:

    • commonMain is for code thats common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apples CoreCrypto for the iOS part of your Kotlin app, iosMain would be the right folder for such calls.
  • /server is for the Ktor server application.

  • /shared is for the code that will be shared between all targets in the project. The most important subfolder is commonMain. If preferred, you can add code to the platform-specific folders here too.

Email Configuration

The application uses email to send notifications for form submissions. The email configuration can be set up in several ways:

  1. Environment Variables: The application reads email configuration from environment variables.
  2. .env File: If environment variables are not set, the application looks for a .env file.
  3. Default Values: If neither environment variables nor a .env file is found, default values are used.

GitHub Actions Secrets

For deployment with GitHub Actions, the email configuration is stored in GitHub repository secrets. The following secrets need to be set up in your GitHub repository:

  • SMTP_HOST: The SMTP server host (e.g., smtp.gmail.com)
  • SMTP_PORT: The SMTP server port (e.g., 587)
  • SMTP_USER: The SMTP username (usually your email address)
  • SMTP_PASSWORD: The SMTP password or app password
  • RECIPIENT_EMAIL: The email address that will receive form submissions
  • SMTP_SENDER_EMAIL: The email address that will appear as the sender (usually the same as SMTP_USER)

These secrets are automatically passed to the Docker container during deployment via the GitHub Actions workflow.

Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm

We would appreciate your feedback on Compose/Web and Kotlin/Wasm in the public Slack channel #compose-web. If you face any issues, please report them on GitHub.

You can open the web application by running the :composeApp:wasmJsBrowserDevelopmentRun Gradle task.