{"id":49979086,"url":"https://github.com/fflch/gwmariadb","last_synced_at":"2026-06-02T01:01:28.824Z","repository":{"id":357484149,"uuid":"1199954907","full_name":"fflch/gwmariadb","owner":"fflch","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-13T00:19:24.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T14:35:49.802Z","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/fflch.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-02T22:08:59.000Z","updated_at":"2026-05-13T14:10:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fflch/gwmariadb","commit_stats":null,"previous_names":["fflch/gwmariadb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fflch/gwmariadb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fflch%2Fgwmariadb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fflch%2Fgwmariadb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fflch%2Fgwmariadb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fflch%2Fgwmariadb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fflch","download_url":"https://codeload.github.com/fflch/gwmariadb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fflch%2Fgwmariadb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33800676,"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-01T02:00:06.963Z","response_time":115,"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":"2026-05-18T14:17:03.637Z","updated_at":"2026-06-02T01:01:28.806Z","avatar_url":"https://github.com/fflch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Construindo imagem:\n\n    docker build --no-cache -t gwmariadb .\n    docker compose up\n    cp .env.example .env\n    docker exec -it gwmariadb composer install\n\nTeste de conexão:\n\n    curl -X GET http://localhost:8080/ -H \"X-Token: 123\"\n    curl -X GET http://localhost:8080/ -H \"X-Token: 123tokenErrado\"\n\nRequisições existentes:\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"listar_databases\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"listar_usuarios\"}'\n\nNovas requisições:\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"database_existe\", \"nome\":\"nome_database\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"usuario_existe\", \"nome\":\"nome_usuario\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"criar_database\", \"nome\":\"nome_database\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"criar_usuario\", \"nome\":\"nome_database\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"criar_database_usuario\", \"nome\":\"nome_database\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"conceder_privilegios\", \"nome\":\"nome_usuario\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n        -H \"Content-Type: application/json\" \\\n        -d '{\"action\":\"criar_database_usuario_privilegio\", \"nome\":\"nome_database\"}'\n\n    curl -X POST http://localhost:8080/ -H \"X-Token: 123\" \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"action\":\"trocar_senha\", \"nome\":\"nome_usuario\"}'","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffflch%2Fgwmariadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffflch%2Fgwmariadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffflch%2Fgwmariadb/lists"}