{"id":45896926,"url":"https://github.com/simplesoftwareltda/pecas-por-codigo-backend","last_synced_at":"2026-02-27T21:01:21.896Z","repository":{"id":324087479,"uuid":"1095895380","full_name":"SimpleSoftwareLTDA/pecas-por-codigo-backend","owner":"SimpleSoftwareLTDA","description":"Backend do Peças Por Código, um SaaS de Peças Automotivas B2B","archived":false,"fork":false,"pushed_at":"2026-01-16T18:05:11.000Z","size":4897,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T05:45:07.230Z","etag":null,"topics":["saas","saas-application"],"latest_commit_sha":null,"homepage":"https://www.pecasporcodigo.com.br/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimpleSoftwareLTDA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":"gh/randintn","custom":null}},"created_at":"2025-11-13T16:54:57.000Z","updated_at":"2026-01-16T18:05:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SimpleSoftwareLTDA/pecas-por-codigo-backend","commit_stats":null,"previous_names":["simplesoftwareltda/pecas-por-codigo-backend"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SimpleSoftwareLTDA/pecas-por-codigo-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleSoftwareLTDA%2Fpecas-por-codigo-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleSoftwareLTDA%2Fpecas-por-codigo-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleSoftwareLTDA%2Fpecas-por-codigo-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleSoftwareLTDA%2Fpecas-por-codigo-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimpleSoftwareLTDA","download_url":"https://codeload.github.com/SimpleSoftwareLTDA/pecas-por-codigo-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimpleSoftwareLTDA%2Fpecas-por-codigo-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29913648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"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":["saas","saas-application"],"created_at":"2026-02-27T21:01:20.903Z","updated_at":"2026-02-27T21:01:21.887Z","avatar_url":"https://github.com/SimpleSoftwareLTDA.png","language":"Kotlin","funding_links":["https://thanks.dev/gh/randintn"],"categories":[],"sub_categories":[],"readme":"![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/SimpleSoftwareLTDA/pecas-por-codigo-backend?utm_source=oss\u0026utm_medium=github\u0026utm_campaign=SimpleSoftwareLTDA%2Fpecas-por-codigo-backend\u0026labelColor=171717\u0026color=FF570A\u0026link=https%3A%2F%2Fcoderabbit.ai\u0026label=CodeRabbit+Reviews)\n\nBackend para o Novo Peças Por Código\n\n[Site Peças Por Código](https://www.pecasporcodigo.com.br/)\n\n## Local Development\n\n### Prerequisites\n- **Java 25** (OpenJDK)\n- **Docker** \u0026 Docker Compose\n- **PowerShell** (for Windows users)\n\n### Quick Start (Recommended)\nRun the helper script to set up environment variables and start the infrastructure:\n```powershell\n./run.ps1\n```\nThis script will:\n1. Create a `.env` file if it doesn't exist.\n2. Start PostgreSQL, Redis, and the Monitoring stack (Grafana, Prometheus, Tempo, OTEL) via Docker.\n3. Offer to start the backend application via `./gradlew bootRun`.\n\n### Manual Setup\n\n1. **Environment Variables**:\n   Copy `.env.example` to `.env` and fill in necessary keys.\n   ```bash\n   cp .env.example .env\n   ```\n\n2. **Infrastructure**:\n   Start the supporting services:\n   ```bash\n   docker compose -f docker-compose.local.yml up -d\n   ```\n\n3. **Run Application**:\n   Ensure you use the `local` profile:\n   ```bash\n   ./gradlew bootRun\n   ```\n   Or via IntelliJ IDEA: Add `-Dspring.profiles.active=local` to VM Options.\n\n### Infrastructure Access\n- **API**: [http://localhost:8080](http://localhost:8080)\n- **Swagger UI**: [http://localhost:8080/swagger-ui/index.html](http://localhost:8080/swagger-ui/index.html)\n- **Grafana**: [http://localhost:3000](http://localhost:3000) (Anonymous Admin enabled)\n- **Prometheus**: [http://localhost:9090](http://localhost:9090)\n\n## Licença\n-------\n\nEste projeto está licenciado sob Business Source License 1.1 (BSL 1.1). Veja o arquivo `LICENSE` na raiz do repositório para o texto completo e os parâmetros.\n\n**Resumo:**\n- **Licenciador:** Pecas Por Codigo (ou colaboradores deste repositório)\n- **Obra licenciada:** novo-pecas-online-backend\n- **Change Date:** 2029-11-13\n- **Change License:** GNU GPL v2.0 ou qualquer versão posterior\n\n*Observação importante: até a data de mudança (Change Date), o uso em produção é limitado conforme os termos da BSL; o uso para desenvolvimento, testes e não-produção é permitido. Após a Change Date, o projeto passa a estar sob a licença indicada em \"Change License\".*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesoftwareltda%2Fpecas-por-codigo-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplesoftwareltda%2Fpecas-por-codigo-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesoftwareltda%2Fpecas-por-codigo-backend/lists"}