{"id":30428425,"url":"https://github.com/dnowdd/pavot-api","last_synced_at":"2025-10-11T16:45:07.166Z","repository":{"id":310170932,"uuid":"1037101991","full_name":"Dnowdd/Pavot-API","owner":"Dnowdd","description":"Pavot API in Laravel","archived":false,"fork":false,"pushed_at":"2025-08-13T04:33:12.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-13T07:44:07.675Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dnowdd.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,"zenodo":null}},"created_at":"2025-08-13T04:27:52.000Z","updated_at":"2025-08-13T04:33:15.000Z","dependencies_parsed_at":"2025-08-16T08:50:50.172Z","dependency_job_id":"035b20b5-edd0-4e7b-901e-903f3f72d867","html_url":"https://github.com/Dnowdd/Pavot-API","commit_stats":null,"previous_names":["dnowdd/pavot-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dnowdd/Pavot-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dnowdd%2FPavot-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dnowdd%2FPavot-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dnowdd%2FPavot-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dnowdd%2FPavot-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dnowdd","download_url":"https://codeload.github.com/Dnowdd/Pavot-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dnowdd%2FPavot-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007975,"owners_count":26084369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":"2025-08-22T15:16:34.718Z","updated_at":"2025-10-11T16:45:07.101Z","avatar_url":"https://github.com/Dnowdd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\" alt=\"Laravel Logo\"\u003e\n\u003c/p\u003e\n\n# Pavot API\n\nAPI robusta desenvolvida com Laravel, PHP moderno e arquitetura orientada a objetos.\n\n## Tecnologias Utilizadas\n\n-   **PHP** (\u003e=8.1)\n-   **Laravel** (Framework web moderno e robusto)\n-   **Composer** (Gerenciador de dependências PHP)\n-   **MySQL** (Banco de dados relacional)\n\n## Linguagens\n\n-   **PHP**: Backend e lógica da API\n-   **SQL**: Utilizado para persistência de dados no MySQL\n\n## Como rodar o projeto\n\n### Pré-requisitos\n\n-   PHP \u003e= 8.1\n-   Composer instalado\n-   MySQL rodando localmente\n\n### Passos\n\n1. **Clone o repositório:**\n\n    ```bash\n    git clone \u003curl-do-repositorio\u003e\n    cd pavot-api\n    ```\n\n2. **Instale as dependências:**\n\n    ```bash\n    composer install\n    ```\n\n3. **Configure o ambiente:**\n\n    - Renomeie o arquivo `.env.example` para `.env` (se necessário)\n    - Edite o `.env` conforme sua configuração de banco:\n        ```env\n        DB_CONNECTION=mysql\n        DB_HOST=localhost\n        DB_PORT=3306\n        DB_DATABASE=pavot\n        DB_USERNAME=root\n        DB_PASSWORD=\n        ```\n\n4. **Gere a chave da aplicação:**\n\n    ```bash\n    php artisan key:generate\n    ```\n\n5. **Execute as migrations (opcional):**\n\n    ```bash\n    php artisan migrate\n    ```\n\n6. **Inicie o servidor:**\n\n    ```bash\n    php artisan serve --host=0.0.0.0 --port=8000\n    ```\n\n7. **Acesse o endpoint de teste:**\n    - Endpoint: `GET /api/helloworld`\n    - Exemplo:\n        ```bash\n        curl http://localhost:8000/api/helloworld\n        # Resposta: { \"message\": \"helloworld\" }\n        ```\n\n## Estrutura do Projeto\n\n-   `routes/api.php`: Definição das rotas da API\n-   `app/`: Código principal da aplicação\n-   `.env`: Configurações de ambiente\n\n## Observações\n\n-   O projeto já está pronto para integração com MySQL.\n-   Para criar novos endpoints, edite o arquivo `routes/api.php` ou crie Controllers em `app/Http/Controllers`.\n-   Recomenda-se utilizar migrations para gerenciar o banco de dados.\n\n---\n\nFeito com ❤️ por David Queiroz.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnowdd%2Fpavot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnowdd%2Fpavot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnowdd%2Fpavot-api/lists"}