{"id":16222781,"url":"https://github.com/freinet12/geo-validator","last_synced_at":"2026-06-28T05:31:37.988Z","repository":{"id":49070936,"uuid":"267600322","full_name":"freinet12/geo-validator","owner":"freinet12","description":"Geo Validator Tool","archived":false,"fork":false,"pushed_at":"2023-02-02T12:18:22.000Z","size":160,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-10T16:26:17.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freinet12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-28T13:40:49.000Z","updated_at":"2020-06-04T21:38:00.000Z","dependencies_parsed_at":"2024-11-04T00:02:18.103Z","dependency_job_id":"66fb9329-d6bd-4ca5-841c-ef268fcef764","html_url":"https://github.com/freinet12/geo-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freinet12/geo-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fgeo-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fgeo-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fgeo-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fgeo-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freinet12","download_url":"https://codeload.github.com/freinet12/geo-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fgeo-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34878963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T12:15:15.293Z","updated_at":"2026-06-28T05:31:37.965Z","avatar_url":"https://github.com/freinet12.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"GEO VALIDATOR\n\n## SETUP\n- Install PHP version 7.2+\n- Install MYSQL (mysql  Ver 15.1 Distrib 10.4.11-MariaDB)\n- Create Database: \u003cbr\u003e\n    \u003cdiv\u003e\n\t    CREATE DATABASE IF NOT EXISTS geo \u003cbr\u003e\n\t    CHARACTER SET = 'utf8mb4' \u003cbr\u003e\n\t    COLLATE = 'utf8mb4_unicode_ci';\n    \u003c/div\u003e\n\n- Copy the contents of .env.example into a new file in the root app dir called .env\n- Open up the .env file and update the following: \u003cbr\u003e\n\t    DB_HOST=your_mysql_host_ip \u003cbr\u003e\n\t    DB_PORT=3306 or whatever port mysql is running on \u003cbr\u003e\n\t    DB_USERNAME=your_mysql_username \u003cbr\u003e\n\t    DB_PASSWORD=your_mysql_password \u003cbr\u003e\n\n## Migrations\n - Run the following command: \u003cbr\u003e\n \u003ccode\u003e php artisan migrate \u003c/code\u003e\n\n\n## Endpoints\n\n1) Create All 50 State Records \u003cbr\u003e\n\t\u003ccode\u003e {APP_URL}/api/states/createAll \u003c/code\u003e \u003cbr\u003e\n\trequired fields: none \u003cbr\u003e\n    - returns: \u003cbr\u003e\n        - \u003ccode\u003e All sates created successfully! \u003c/code\u003e\n\n2) Create City \u0026 Zip Records by Uploading a geo file \u003cbr\u003e\n\t\u003ccode\u003e {APP_URL}/api/createGeoRecords \u003c/code\u003e \u003cbr\u003e\n\trequired fields: \u003cbr\u003e\n     - file (the geo file which has zip, city, state) \u003cbr\u003e\n     returns: \u003cbr\u003e\n        - \u003ccode\u003e Done. \u003c/code\u003e\n\n3) Validate Provided Geo \u003cbr\u003e\n\t\u003ccode\u003e {APP_URL}/api/validateGeo \u003c/code\u003e \u003cbr\u003e\n\t- required params: \u003cbr\u003e\n        - \u003ccode\u003e city \u003c/code\u003e (city name) \u003cbr\u003e\n\t\t- \u003ccode\u003e state \u003c/code\u003e (2 letter state code) \u003cbr\u003e\n\t    - \u003ccode\u003e zip \u003c/code\u003e (5 digit zip-code) \u003cbr\u003e\u003cbr\u003e\n\texample: \u003cbr\u003e\n    \u003ccode\u003e {APP_URL}/api/validateGeo?city=stebbins\u0026state=ak\u0026zip=99671 \u003c/code\u003e \u003cbr\u003e\n    - returns: \u003cbr\u003e\n        - \u003ccode\u003evalid geo \u003c/code\u003e (if the provided geo is valid) \u003cbr\u003e\n        - \u003ccode\u003e invalid geo \u003c/code\u003e (if the provided geo is invalid) \u003cbr\u003e\n        - \u003ccode\u003e unable to validate geo \u003c/code\u003e (if an error occured when trying to validate the provided geo) \u003c/br\u003e\n    \n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreinet12%2Fgeo-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreinet12%2Fgeo-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreinet12%2Fgeo-validator/lists"}