Add nightly town sync with autocomplete on journey fields #12
Reference in New Issue
Block a user
Delete Branch "feature/town-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
townstable synced nightly from the ArcGIS Town Point API (1,977 towns)SyncTownsjob paginates the API in batches of 1000, upserting bytown_pidand handling retired towns viadate_retiredroutes/console.php/towns/searchendpoint returns up to 10 matching active towns filtered by name prefix and optional stateTest plan
php artisan migrateto create thetownstablephp artisan tinker→dispatch(new App\Jobs\SyncTowns)and process queue — confirm towns are populatedphp artisan schedule:listshowsSyncTownsrunning daily at 02:00