technote-space / ddd-cqrs-pattern Goto Github PK
View Code? Open in Web Editor NEWHome Page: ddd-cqrs-pattern.vercel.app
License: MIT License
Home Page: ddd-cqrs-pattern.vercel.app
License: MIT License
Text Filter が細かく種類を指定できるようになったっぽい?
https://developers.notion.com/reference/post-database-query-filter#text-filter-condition
完全削除可能なのは削除状態(削除(登録)、削除(実行中)、削除(完了))のみ
notion databaseの統合テスト
テスト用ページを作成
マイグレーション
いくつかのレコード追加、更新、削除
テスト用ページを削除
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: http://ddd-cqrs-pattern.vercel.app
HTTP_308
入力が始まったらバリデーションエラーを消す
デザインのみ微調整
名前の設定が間違っている可能性
409 などのエラーを Toast などで表示
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: https://docs.github.com
HTTP_403
https://ddd-cqrs-pattern-ridyfu5iy-technote-space.vercel.app/ のようなURLはAPIも同じものを呼ぶので問題なし
https://ddd-cqrs-pattern.vercel.app/ の場合は異なるURLのAPIを呼び出すのでCORSエラー
追加フォーム入力で過去に使用したタグ一覧を表示して選択できるようにする
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: http://ddd-cqrs-pattern.vercel.app
HTTP_308
別DBにはユーザーが存在しないため
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: https://docs.github.com
HTTP_403
Notion API で実装したデータベースを利用して各種リポジトリを実装
ddd-cqrs-pattern/src/infra/server/shared/database/notion/index.ts
Lines 31 to 36 in 827ec69
TODO
comment in 827ec69. It's been assigned to @technote-space because they committed the code.GitHub Actions を設定
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: https://docs.github.com/en/github/site-policy/github-privacy-statement
HTTP_403
eslint-plugin-strict-dependencies
Database の実装として追加
サーバー側で一定時間 Auth0 側への認証をキャッシュ
内部的には「削除(登録)」など
表示する際は「削除」で統一
登録(3)
のように表示
「削除」の場合にボタン表示
押下で元のステータスに戻す
タグを一つも設定していない場合に全てのタグが設定されてしまう
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: https://docs.github.com/en/github/site-policy/github-terms-of-service
HTTP_403
Domain で Provider も定義しているため、Provider が不要なサービスで冗長
Provider を DI する機能を作成して Domain から Provider を削除
取得データをキャッシュ
追加、更新、削除が行われたら削除
進捗タブを追加
進捗ごとの一覧を表示
タグのタブを追加
タグごとの一覧を表示
それぞれのリクエストに対するレスポンスの形式が変わったときに検出したい
変更が影響なければ実際のレスポンスから自動生成したい
削除ステータスではない場合は削除ステータスに変更
削除ステータスの場合は削除
フロントで現在のステータスによって呼ぶAPIを使い分け
期日を日付
ステータス、作業単位を選択肢
作業見積を数字
にする
日付降順
↓
実行中 => 登録 => 完了 => 削除
日付昇順(登録、実行中)
日付降順(完了、削除)
「タスク名」などの英語での呼称を決めてモデリングに追加
合わせてコードにも反映
noinspection NonAsciiCharacters
Broken Link Checker found a broken link on https://github.com/technote-space/ddd-cqrs-pattern
Target: http://ddd-cqrs-pattern.vercel.app
HTTP_308
バリデーションエラーが表示されたままになっている
DATABASE_TYPE=notion でデプロイ
Notion API によるデータベースの動作を実装
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.