{"id":22239308,"url":"https://github.com/maxsonferovante/potiguar-api","last_synced_at":"2026-05-03T12:38:30.772Z","repository":{"id":274937157,"uuid":"869203969","full_name":"maxsonferovante/potiguar-api","owner":"maxsonferovante","description":"A Potiguar API é um serviço projetado para facilitar a consulta de infrações de veículos, subsídios e multas no Rio Grande do Norte. ","archived":false,"fork":false,"pushed_at":"2024-10-23T00:34:52.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T01:31:51.371Z","etag":null,"topics":["api-rest","async","fastapi","mongodb","pynest","python","xhttp"],"latest_commit_sha":null,"homepage":"https://potiguar-api-production.up.railway.app/api/docs","language":"Python","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/maxsonferovante.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":"2024-10-07T22:32:10.000Z","updated_at":"2024-12-21T22:54:44.000Z","dependencies_parsed_at":"2025-01-30T09:27:10.510Z","dependency_job_id":null,"html_url":"https://github.com/maxsonferovante/potiguar-api","commit_stats":null,"previous_names":["maxsonferovante/potiguar-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxsonferovante/potiguar-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxsonferovante%2Fpotiguar-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxsonferovante%2Fpotiguar-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxsonferovante%2Fpotiguar-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxsonferovante%2Fpotiguar-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxsonferovante","download_url":"https://codeload.github.com/maxsonferovante/potiguar-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxsonferovante%2Fpotiguar-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["api-rest","async","fastapi","mongodb","pynest","python","xhttp"],"created_at":"2024-12-03T03:18:51.722Z","updated_at":"2026-05-03T12:38:30.750Z","avatar_url":"https://github.com/maxsonferovante.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Potiguar API\nA Potiguar API é um serviço projetado para facilitar a consulta de infrações de veículos, subsídios e multas no Rio Grande do Norte. Ela fornece uma maneira robusta e eficiente de acessar e gerenciar essas informações através de uma API bem estruturada.\n\n## Funcionalidades\n\n- **FastAPI**: Utiliza FastAPI para construir a API, garantindo alto desempenho e interfaces fáceis de usar.\n- **Celery**: Integra Celery para lidar com tarefas assíncronas, tornando-o adequado para processamento em segundo plano.\n- **Uvicorn**: Usa Uvicorn como o servidor ASGI para servir a aplicação FastAPI.\n- **Poetry**: Gerencia dependências e ambientes virtuais com Poetry, garantindo um ambiente consistente e reproduzível.\n\n## Requisitos\n\n- Python 3.12+\n- Poetry\n- Redis (para backend do Celery)\n- FastAPI\n- Uvicorn\n- Celery\n\n## Instalação\n\nSiga os passos abaixo para configurar e executar a Potiguar API em sua máquina local.\n\n## Iniciar Serviço\n\n## Passo 1 - Criar ambiente\n\n- Instale as dependências usando Poetry:\n\n```bash\npoetry install\n```\n\n## Passo 2 - Iniciar serviço localmente\n\n1. Execute o serviço com Uvicorn:\n\n```bash\nuvicorn \"src.app_module:http_server\" --host \"0.0.0.0\" --port \"8000\" --reload\n```\n\n2. Inicie o worker do Celery e o Flower para monitoramento:\n\n```bash\npoetry run celery -A src.apps.tasks.tasks_service worker --loglevel=INFO\n```\n\n```bash\npoetry run celery -A src.apps.tasks.tasks_service flower\n```\n\n## Passo 3 - Enviar requisições\n\nVá para a documentação do FastAPI e use seus endpoints da API - http://127.0.0.1/api/docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxsonferovante%2Fpotiguar-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxsonferovante%2Fpotiguar-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxsonferovante%2Fpotiguar-api/lists"}