Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSVから商品エントリを生成する機能を追加 #82

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

exflikt
Copy link
Collaborator

@exflikt exflikt commented Oct 11, 2024

  • サーバ初回起動時に static/product-list.csv をもとに products テーブルのエントリを生成するよう変更
  • PUT /products/static/product-list.csv で既にあるエントリを強制的に削除し static/product-list.csv をもとにしたエントリ生成を行う機能を追加
    ※ PUTメソッドなのは、何回実行しても同じ結果になる性質(冪等性)が保たれているため。

@exflikt exflikt merged commit 9e8ec1d into tut-cc:main Oct 11, 2024
1 check passed
@exflikt exflikt deleted the develop branch October 11, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant