Skip to content

feat: scaffold bounties CRUD API#44

Merged
Xuccessor merged 1 commit into
BountyOnChain:mainfrom
Thanhdn1984:susan/bounties-crud
May 20, 2026
Merged

feat: scaffold bounties CRUD API#44
Xuccessor merged 1 commit into
BountyOnChain:mainfrom
Thanhdn1984:susan/bounties-crud

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Closes #6.

What changed:

  • Adds BountiesController with CRUD endpoints for /bounties.
  • Adds DTO validation via ValidationPipe + class-validator.
  • Adds BountiesService using the existing Bounty TypeORM entity/repository.
  • Returns { deleted: true } on successful delete and 404 for missing bounties.

Verification:

  • npm run build --workspace=apps/backend
  • git diff --check

Copy link
Copy Markdown
Contributor

@Xuccessor Xuccessor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Xuccessor Xuccessor merged commit 12109b5 into BountyOnChain:main May 20, 2026
3 checks passed
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.

feat(backend): scaffold bounties CRUD module

2 participants