判定メモ

デスクトップアプリ を作る

外部の制約

推奨:Tauri

推奨言語

Tauri

UIはWeb技術、裏側はRustで軽量なバイナリになるTauri(作成物ごとの言語の決め方)

構成

構成TauriUIはWeb技術、裏側はRust
フロントReact+Vite+TanStack Router
  • 差替条件で既定から差し替えた行
  • 自分で書く
  • 自分で運用する
  • マネージドに任せる

運用の内訳

自分で書く4

Tauri、React、Vite、TanStack Router

条件が違うとき

  • 「Microsoft/Azure中心」を加える
    • 推奨 → C#(.NET)
    • 構成 → C#(.NET)
    • SDK → .NET(LTS)をmiseで管理
    • テスト → xUnit + NSubstitute
    • フロント → なくなる

作り始める

共通の準備

# 言語・ツールのバージョン固定(使う言語だけ)mise use node@lts pnpm@latestmise use go@latestmise use ruby@latestmise use python@latest uv@latest# Gitフックと依存更新pnpm add -D lefthook && pnpm exec lefthook install# renovate.json を置き、GitHubでRenovateアプリを有効化する

その他の言語

# Rust(Web API)cargo new app && cd appcargo add axum serde --features serde/derivecargo add tokio --features fullcargo add sqlx --features runtime-tokio,postgres# Rust(デスクトップ)pnpm create tauri-app@latest# Kotlin(Spring Boot)curl https://start.spring.io/starter.zip \  -d language=kotlin -d type=gradle-project-kotlin \  -d dependencies=web,jooq,flyway,postgresql,actuator \  -o app.zip# C#(ASP.NET Core)dotnet new webapi -n App

次に読む

作るもの
構成図