Azure Database for MySQLにAzure Functionsから接続して操作する。

クイック スタート:Node.js を使用して Azure Database for MySQL に接続してデータを照会する
を少しアレンジしてAzure Functionsから使用するようにしてみる。 ...
Visual Studio Codeを使ってAzure Functionsをデバッグ実行するまで(C#)

Azure Functions(TypeScript)でAzurite上のBlobにアクセスする。

・Azuriteがインストール済み
・Microsoft Azure Storage Explorer(確認のためなのでなくても可ですが、説明で使用)
こちらをテンプレートとして使います。
こち ...
multipart/form-dataを使ってAzure Functions(TypeScript)にデータを転送する

C#でのサンプルは簡単に見つかったけど、TypeScriptの場合どうすればいいのか?ということで調査しました。
以下の内容がドンピシャなんですが、req.parseFormBody()を使えばいけるようです。
node(TypeScript)でExcelの中身をjsonで吐き出す

xlsxというライブラリを使います。
スター数も多いし安定していそうです。
こちらの実験環境に中身を入れていきます。
まずはxlsxをinstallします。
npm install xlsx ...
Azure Functions(TypeScript)をデバッグする

今回の内容に関するリポジトリは以下です。
テンプレート化しています。
こちらを作成するまでの手順を今回は説明するだけです。
前回の内容
やったことホットリロード機能とかブレークポイントでのデバッ ...
Azure FunctionsをTypeScriptで作る

まずはFunctionのプロジェクトを作成する。
$ mkdir sample001$ cd sample001datakuminoMacBook-Air@takumi ~/Documents/Azure/work/ts/fun ...node(TypeScript)用の実験環境を作る

できあがったテンプレートはこちら。
こちらを参考に進めました。
takumi@ ~/Documents/Azure/work/ts/vite/sample-0715$ npm init -ytakumi@ランダムで指定した位置を継続的にクリックするPowerShellのプログラムを作成した

友達に依頼されたので作った。
チャットアプリがオンラインかどうかを上司に監視されるからとのこと。
上司もそんな暇ではないだろう・・・と思いつつ、一杯奢ってくれると言われたので快諾した。
っで、なぜPow ...
アロマの精油を使って自分でクリームを作る方法

今回はプログラムとか全く関係ない話です。
単純に記録に残しておきたいなーと思って書いてるだけです。
口内炎の予防にティートリーオイルを使ったのがキッカケでした。
嫁さんは昔から口内炎がよくできて、歯 ...