言語、フレームワークは指定しませんが、 Docker で開発環境の構築をお願いします。

【概要】

書籍管理アプリの API サーバ構築をしていただきます。

【要件】

以下は「著者」のJSON サンプルです。

{
  "authorId": 123,
  "name": "パゴス太郎",
  "books": [
    {
      "isbn": "xxx-xxxx",
      "name": "絶対に儲かる100の方法",
      "publishedAt": "2022-09-04T16:07:48.53",
      "authorId": 123,
      "publisherId": 456
    }
  ],
  "relatedPublishers": [
    {
      "publisherId": 456,
      "name": "株式会社ガラパゴス"
    }
  ]
}

以下は「出版社」のJSON サンプルです。

{
  "publisherId": 456,
  "name": "株式会社ガラパゴス",
  "books": [
    {
      "isbn": "xxx-xxxx",
      "name": "絶対に儲かる100の方法",
      "publishedAt": "2022-09-04T16:07:48.53",
      "authorId": 123,
      "publisherId": 456
    }
  ],
  "relatedAuthors": [
    {
      "authorId": 123,
      "name": "パゴス太郎"
    }
  ]
}

以下は「書籍」の JSON サンプルです。

{
  "isbn": "xxx-xxxx",
  "name": "絶対に儲かる100の方法",
  "publishedAt": "2022-09-04T16:07:48.53",
  "author": {
    "authorId": 123,
    "name": "パゴス太郎",
  },
  "publisher": {
    "publisherId": 456,
    "name": "株式会社ガラパゴス",
  }
}