Skip to content

Sprint 3 - Create API routes for create, list and delete vaults#54

Merged
vbetsch merged 5 commits intomainfrom
develop
Jul 29, 2025
Merged

Sprint 3 - Create API routes for create, list and delete vaults#54
vbetsch merged 5 commits intomainfrom
develop

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Jul 29, 2025

No description provided.

vbetsch added 5 commits July 29, 2025 01:19
* refactor: Clean legacy migrations

* feat: Create Vault model

* refactor: Add @db.VarChar(255)
* feat: Create POST route for create a vault

* feat: Create VaultModelDto & CreateVaultParamsDto

* feat: Create CreateVaultResponseDto

* feat: Create CreateVaultUseCase

* feat: Implement CreateVaultUseCase

* feat: Create VaultAdapter

* refactor: Create IAdapter

* feat: Create VaultsRepository

* fix: Import reflect-metadata
* feat: Create GET /vaults

* feat: Create GetMyVaultsResponseDto

* feat: Create GetMyVaultsUseCase

* feat: Improve VaultAdapter to implement getDtoListFromModelList

* feat: Create findAll in VaultsRepository

* docs: Add TODO comment

* docs: Add documentation for GetMyVaultsResponseDto

* docs: Fix documentation for CreateVaultResponseDto

* fix: Fix documentation for GetMyVaultsResponseDto

* fix: Make GetMyVaultsUseCase injectable

* docs: Add 500 error in swagger doc

* refactor: Use getDtoFromModel in getDtoListFromModelList in adapter

* fix: Add tests in checks make command

* refactor: Rename checks_build to ci in Makefile
* refactor: Replace Response by NextResponse

* refactor: Replace Response by NextResponse

* refactor: Move CreateVaultParamsDto to requests

* feat: Create params

* refactor: Delete .gitkeep

* refactor: Add successStatusCode in handleApiRequest

* feat: Create DELETE /vaults/[id]

* refactor: Rename params to input in IUseCaseWithInput

* feat: Create DeleteVaultUseCase

* feat: Add delete method in VaultsRepository

* fix: Fix lint

* docs: Add path param in delete route

* fix: Import reflect-metadata

* fix: Fix params

* feat: Create NoVaultFoundError

* docs: Fix

* fix: return no content
@vbetsch vbetsch self-assigned this Jul 29, 2025
@vbetsch vbetsch added the production All the pull requests from develop into main label Jul 29, 2025
@vbetsch vbetsch merged commit d6ae875 into main Jul 29, 2025
4 checks passed
vbetsch added a commit that referenced this pull request Jul 29, 2025
Merge pull request #54 from vbetsch/develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

production All the pull requests from develop into main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant