A progressive Node.js framework for building efficient and scalable server-side applications.
Docker + NestJS + Typeorm の構成になっています。
とくにカスタマイズはしていません
node イメージをもとに Nestjs/cli をインストールしています。
このリポジトリをもとに環境構築する場合は下記の記事を参考にしてください
https://zenn.dev/senri/articles/331162304a78e0
基本的には
docker compose up -d --build
コマンドで環境構築を完了することができると思われます。
できなかったらすいません。
また、マイグレーションコマンドを npm script にて簡便にしています。
基本的にDockerコンテナ内で走らせます
マイグレーションファイルを作成するとき
npm run migration:generate [名前]
マイグレーションを走らせるとき
npm run migration:run
マイグレーションの履歴を確認するとき
npm run migration:status
マイグレーションの実行を戻したいとき
npm run migration:revert
詳細はpackage.jsonを見てください