{"id":28842887,"url":"https://github.com/g2bc/lumm-server","last_synced_at":"2026-05-22T02:13:04.162Z","repository":{"id":297340155,"uuid":"990966427","full_name":"G2BC/LUMM-server","owner":"G2BC","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-22T03:12:52.000Z","size":482,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-22T04:43:32.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/G2BC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2025-05-26T23:34:30.000Z","updated_at":"2026-04-22T03:12:45.000Z","dependencies_parsed_at":"2026-03-05T18:01:05.360Z","dependency_job_id":null,"html_url":"https://github.com/G2BC/LUMM-server","commit_stats":null,"previous_names":["g2bc/lumm-server"],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/G2BC/LUMM-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G2BC%2FLUMM-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G2BC%2FLUMM-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G2BC%2FLUMM-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G2BC%2FLUMM-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/G2BC","download_url":"https://codeload.github.com/G2BC/LUMM-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G2BC%2FLUMM-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32364134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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-06-19T16:07:42.683Z","updated_at":"2026-05-22T02:13:04.144Z","avatar_url":"https://github.com/G2BC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LUMM-server\n\n## Requisitos\n\n- Python 3.12\n- uv (https://docs.astral.sh/uv/getting-started/installation/)\n- Docker + Docker Compose (para ambiente completo com API, DB, Redis e MinIO)\n\n## Setup local (sem Docker)\n\n### 1. Clonar o repositório\n\n```bash\ngit clone git@github.com:G2BC/LUMM-server.git\ncd LUMM-server\n```\n\n### 2. Sincronizar dependências\n\n```bash\nuv sync --dev\n```\n\n### 3. Ativar ambiente virtual (opcional)\n\n```bash\nsource .venv/bin/activate       # Linux/macOS\n.venv\\Scripts\\activate          # Windows\n```\n\n### 4. Configurar variáveis de ambiente\n\n```bash\ncp .env.example .env\n```\n\nEm produção, as variáveis são gerenciadas pelo dashboard do Dotenv Vault. O servidor\nnão usa `.env`; o deploy via GitHub Actions usa o `.env.vault` versionado no repositório\ne a secret `DOTENV_KEY` cadastrada em `Settings \u003e Secrets and variables \u003e Actions`.\n\n### 5. Executar migrações\n\n```bash\nuv run flask db upgrade\n```\n\n### 6. Rodar servidor em desenvolvimento\n\n```bash\nuv run flask run --host=0.0.0.0 --port=4000\n```\n\n## Setup com Docker (recomendado para desenvolvimento)\n\nPara subir ambiente completo com restore de banco e bootstrap de MinIO, siga:\n\n- [docker/dev/README.md](docker/dev/README.md)\n\n## Dev Container (VS Code/Cursor)\n\n1. Siga primeiro o setup de Docker em [docker/dev/README.md](docker/dev/README.md) (incluindo `app-policy.json` e `backup.dump`).\n2. Abra o projeto no editor e execute: `Dev Containers: Reopen in Container`.\n3. Na primeira criação do container, o comando `uv sync --dev` roda automaticamente.\n\n## Comandos úteis (local)\n\n### Criar nova migration\n\n```bash\nuv run flask db migrate -m \"mensagem\"\n```\n\n### Aplicar migrations\n\n```bash\nuv run flask db upgrade\n```\n\n### Desativar o ambiente virtual\n\n```bash\ndeactivate\n```\n\n### ⚠️ Mantenha as regras de Lint e Formatação\n\nPara garantir a consistência e a qualidade do código neste projeto, **antes de mesclar uma PR**, certifique-se de que seu código passou na ferramenta de lint e formatação (`ruff`) durante a execução da action de CI.\n\n### 🛠️ Dicas\n\nRode `uv run ruff check .` e `uv run ruff format .` antes de commitar.\n\n## 📄 Licença\n\nDistribuído sob a Licença MIT. Veja `LICENSE` para mais informações.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg2bc%2Flumm-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg2bc%2Flumm-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg2bc%2Flumm-server/lists"}