Condition Check Reminder Lambda
Sends email reminders to owners and renters to complete condition checks at key points in the rental lifecycle.
Check Types
| Check Type | Recipient | Timing |
|---|---|---|
pre_rental_owner |
Owner | 24 hours before rental start |
rental_start_renter |
Renter | At rental start |
rental_end_renter |
Renter | At rental end |
post_rental_owner |
Owner | 24 hours after rental end |
Local Development
Install Dependencies
cd lambdas/shared && npm install
cd ../conditionCheckReminder && npm install
Set Up Environment
Run Locally
# Default: rental ID 1, check type pre_rental_owner
npm run local
# Specify rental ID and check type
node -r dotenv/config test-local.js dotenv_config_path=.env.dev 123 rental_start_renter