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
noinspection NonAsciiCharacters
入力が始まったらバリデーションエラーを消す
DATABASE_TYPE=notion でデプロイ
別DBにはユーザーが存在しないため
Domain で Provider も定義しているため、Provider が不要なサービスで冗長
Provider を DI する機能を作成して Domain から Provider を削除
タグのタブを追加
タグごとの一覧を表示
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
Notion API によるデータベースの動作を実装
Text Filter が細かく種類を指定できるようになったっぽい?
https://developers.notion.com/reference/post-database-query-filter#text-filter-condition
日付降順
↓
実行中 => 登録 => 完了 => 削除
日付昇順(登録、実行中)
日付降順(完了、削除)
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
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
「削除」の場合にボタン表示
押下で元のステータスに戻す
登録(3)
のように表示
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エラー
バリデーションエラーが表示されたままになっている
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
期日を日付
ステータス、作業単位を選択肢
作業見積を数字
にする
GitHub Actions を設定
名前の設定が間違っている可能性
削除ステータスではない場合は削除ステータスに変更
削除ステータスの場合は削除
フロントで現在のステータスによって呼ぶ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.進捗タブを追加
進捗ごとの一覧を表示
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
タグを一つも設定していない場合に全てのタグが設定されてしまう
サーバー側で一定時間 Auth0 側への認証をキャッシュ
Notion API で実装したデータベースを利用して各種リポジトリを実装
内部的には「削除(登録)」など
表示する際は「削除」で統一
「タスク名」などの英語での呼称を決めてモデリングに追加
合わせてコードにも反映
完全削除可能なのは削除状態(削除(登録)、削除(実行中)、削除(完了))のみ
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
Database の実装として追加
eslint-plugin-strict-dependencies
追加フォーム入力で過去に使用したタグ一覧を表示して選択できるようにする
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.