Skip to content

feat: enhance Fleet schema with treasury, members, and business metadata - #103

Merged
Tybravo merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:feat/fleet-schema-treasury-members-metadata
Aug 7, 2026
Merged

feat: enhance Fleet schema with treasury, members, and business metadata#103
Tybravo merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:feat/fleet-schema-treasury-members-metadata

Conversation

@Ikechukwu-Patrick

Copy link
Copy Markdown
Contributor

Closes #48

  • Added treasuryAddress for Stellar wallet integration with validation
  • Added members array with role-based access (admin/driver/viewer)
  • Added comprehensive business metadata (company, contact, address)
  • Added soft delete functionality with isActive flag
  • Added full CRUD operations in controller
  • Added member management endpoints (add/remove)
  • Added pagination for GET all fleets
  • Fixed authentication middleware to use userId instead of id
  • Added proper validation for Stellar addresses
  • Added indexes for performance optimization
  • Updated environment configuration
  • Added test server for development
  • Fixed rate limiter issues
  • Ensured all required fields are properly validated

- Added treasuryAddress for Stellar wallet integration with validation
- Added members array with role-based access (admin/driver/viewer)
- Added comprehensive business metadata (company, contact, address)
- Added soft delete functionality with isActive flag
- Added full CRUD operations in controller
- Added member management endpoints (add/remove)
- Added pagination for GET all fleets
- Fixed authentication middleware to use userId instead of id
- Added proper validation for Stellar addresses
- Added indexes for performance optimization
- Updated environment configuration
- Added test server for development
- Fixed rate limiter issues
- Ensured all required fields are properly validated
@drips-wave

drips-wave Bot commented Aug 6, 2026

Copy link
Copy Markdown

@Ikechukwu-Patrick Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Tybravo

Tybravo commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

@Ikechukwu-Patrick Good job done

Thank you

@Tybravo
Tybravo merged commit bdbefe8 into SwiftChainn:main Aug 7, 2026
1 check failed
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.

Backend: Design Fleet Mongoose Schema

2 participants