docs: correct Postal Code / City / State Lookup in the beta README
Evidence: spikersoft-backend@master SpikerSoft.Business/Services/PostalCodeSeederService.cs:78 startup seeds postal-codes when the collection is empty. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3915656db3
commit
c24801b3d9
1 file changed
+2
-2
@@ -1774,7 +1774,7 @@ Background check API keys are blank in `appsettings.json`. Checkr's key is `Back
|
|||||||
|
|
||||||
## Postal Code / City / State Lookup
|
## Postal Code / City / State Lookup
|
||||||
|
|
||||||
The platform includes a standardized postal code lookup system powered by **GeoNames** open data. When a user enters a postal code in any address form (ambassador application, profile, marks addresses), the system auto-populates the city and state fields and presents a state dropdown for the selected country.
|
The platform includes a standardized postal code lookup system powered by **GeoNames** open data. When a user enters a postal code on the ambassador application or the profile, the system auto-populates the city and state fields and presents a state dropdown for the selected country. Marks addresses load a US state dropdown and do not look up the postal code.
|
||||||
|
|
||||||
### Data Source
|
### Data Source
|
||||||
|
|
||||||
@@ -1802,7 +1802,7 @@ Data covers all 13 operating countries (US, CA, MX, BZ, HN, CO, BR, PE, EC, AR,
|
|||||||
|
|
||||||
### Seeding Data
|
### Seeding Data
|
||||||
|
|
||||||
After deployment, an admin must seed the postal code data:
|
The API seeds every operating country on startup when `postal-codes` is empty (`Seeding:PostalCodes:Enabled` and `Seeding:RunOnStartup` both default to true). If that download fails, an admin can retry:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Seed all operating countries
|
# Seed all operating countries
|
||||||
|
|||||||
Reference in new issue
Block a user