Skip to content

feat: implement delivery route distance and ETA calculation endpoint#76

Open
Ikechukwu-Patrick wants to merge 1 commit into
SwiftChainn:mainfrom
Ikechukwu-Patrick:feat/delivery-eta-calc
Open

feat: implement delivery route distance and ETA calculation endpoint#76
Ikechukwu-Patrick wants to merge 1 commit into
SwiftChainn:mainfrom
Ikechukwu-Patrick:feat/delivery-eta-calc

Conversation

@Ikechukwu-Patrick

Copy link
Copy Markdown
  • Add GET /api/v1/deliveries/:id/eta endpoint
  • Implement routing service with Google Maps API and fallback Haversine calculation
  • Follow strict Controller -> Service -> Model pattern
  • Use MongoDB for data persistence
  • Add seed script for test data
  • Add environment variables for configuration
  • Successfully tested with real MongoDB and API response
  • Response verified: ETA calculated successfully for DEL-001

Closes #22

- Add GET /api/v1/deliveries/:id/eta endpoint
- Implement routing service with Google Maps API and fallback Haversine calculation
- Follow strict Controller -> Service -> Model pattern
- Use MongoDB for data persistence
- Add seed script for test data
- Add environment variables for configuration
- Successfully tested with real MongoDB and API response
- Response verified: ETA calculated successfully for DEL-001

Closes SwiftChainn#22
@drips-wave

drips-wave Bot commented Jun 30, 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

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: Implement delivery route distance and ETA calculation endpoint

1 participant