{"id":28259388,"url":"https://github.com/yanpenalva/code-challenge-api-ibge","last_synced_at":"2026-04-29T08:34:19.549Z","repository":{"id":154904595,"uuid":"517755673","full_name":"yanpenalva/code-challenge-api-ibge","owner":"yanpenalva","description":"This API is designed to consume the IBGE (Brazilian Institute of Geography and Statistics) API and execute various internal directives to process and manage data. Developed as part of a challenge for a Junior Backend position, this project demonstrates the ability to integrate external APIs, handle data processing, and implement backend logic effic","archived":false,"fork":false,"pushed_at":"2024-06-04T03:02:31.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T03:12:01.597Z","etag":null,"topics":["code-challenge","laravel","laravel-framework-8"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanpenalva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-07-25T17:16:21.000Z","updated_at":"2024-06-04T03:02:34.000Z","dependencies_parsed_at":"2024-06-04T04:23:19.631Z","dependency_job_id":"7f5183c9-43aa-43cb-a3d2-4fc98fa52bfe","html_url":"https://github.com/yanpenalva/code-challenge-api-ibge","commit_stats":null,"previous_names":["yanbrasiliano/code-challenge-api-ibge","yanpenalva/code-challenge-api-ibge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanpenalva/code-challenge-api-ibge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-api-ibge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-api-ibge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-api-ibge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-api-ibge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanpenalva","download_url":"https://codeload.github.com/yanpenalva/code-challenge-api-ibge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-api-ibge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32417920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["code-challenge","laravel","laravel-framework-8"],"created_at":"2025-05-20T03:10:46.332Z","updated_at":"2026-04-29T08:34:19.537Z","avatar_url":"https://github.com/yanpenalva.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Address IBGE Challenge 🏆\n\nThis API is designed to consume the IBGE API and execute various internal directives. This repository is a challenge for a Junior Backend position.\n\n## Requirements\n\n1. **Import your state's IBGE municipalities**:\n   - Create communication with the IBGE API.\n   - Create an artisan command to import your municipalities.\n   - Save the cities in the DB.\n   - Example API: [IBGE Municipalities](https://servicodados.ibge.gov.br/api/v1/localidades/estados/BA/municipios)\n\n2. **Create an API for address registration**:\n   - Implement endpoints for the four operations: create, update, delete, and list addresses.\n   - Save the following data: street address, number, district, and city ID.\n   - Implement an endpoint to list cities.\n   - Validate received data in create and update address endpoints.\n   - Implement unit tests.\n\n3. **Endpoints to test**:\n   - `GET /api/municipality` - Get all municipalities.\n   - `GET /api/municipality/{id}` - Get municipality by ID.\n   - `DELETE /api/municipality/{id}` - Delete municipality by ID.\n   - `PUT /api/municipality/{id}` - Update municipality by ID.\n   - `POST /api/municipality` - Create a new municipality.\n\n4. **Command to import IBGE municipalities**:\n   - Run the command: `php artisan get:data`\n\n## Technology Stack\n\n- **Framework**: Laravel 8\n- **Database**: PostgreSQL\n- **Company**: Confidential\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanpenalva%2Fcode-challenge-api-ibge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanpenalva%2Fcode-challenge-api-ibge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanpenalva%2Fcode-challenge-api-ibge/lists"}