{"id":29659617,"url":"https://github.com/andersonkaiti/nlw-agents-server","last_synced_at":"2026-05-01T21:33:56.892Z","repository":{"id":303835246,"uuid":"1016096140","full_name":"andersonkaiti/nlw-agents-server","owner":"andersonkaiti","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-10T21:44:37.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T03:42:50.591Z","etag":null,"topics":["biomejs","drizzle-orm","fastify","genai","postgresql","ultracite","zod"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/andersonkaiti.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":"2025-07-08T13:35:55.000Z","updated_at":"2025-07-13T00:32:27.000Z","dependencies_parsed_at":"2025-07-10T01:05:25.023Z","dependency_job_id":"cfe5603c-b9f4-4fce-920e-948cb9211bd0","html_url":"https://github.com/andersonkaiti/nlw-agents-server","commit_stats":null,"previous_names":["andersonkaiti/nlw-agents-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andersonkaiti/nlw-agents-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonkaiti%2Fnlw-agents-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonkaiti%2Fnlw-agents-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonkaiti%2Fnlw-agents-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonkaiti%2Fnlw-agents-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersonkaiti","download_url":"https://codeload.github.com/andersonkaiti/nlw-agents-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersonkaiti%2Fnlw-agents-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32513745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["biomejs","drizzle-orm","fastify","genai","postgresql","ultracite","zod"],"created_at":"2025-07-22T09:36:18.482Z","updated_at":"2026-05-01T21:33:56.849Z","avatar_url":"https://github.com/andersonkaiti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NLW Agents\n\n## 🚀 Projeto\n\nNLW Agents é um projeto desenvolvido durante o evento Next Level Week (NLW) da Rocketseat. Trata-se de uma aplicação backend para gerenciamento de salas e agentes.\n\n## 🛠️ Tecnologias Principais\n\n- **Fastify**: Framework web rápido e eficiente para Node.js\n- **Drizzle ORM**: ORM leve e tipo-seguro para PostgreSQL\n- **Zod**: Biblioteca de validação de esquemas\n- **PostgreSQL**: Banco de dados relacional\n- **TypeScript**: Linguagem de programação\n\n## 📦 Dependências\n\n- `@fastify/cors`: Gerenciamento de CORS\n- `drizzle-orm`: Mapeamento objeto-relacional\n- `zod`: Validação de esquemas\n- `postgres`: Cliente PostgreSQL\n\n## 🔧 Configuração e Instalação\n\n### Pré-requisitos\n\n- Node.js (versão compatível com o projeto)\n- Docker\n- Docker Compose\n\n### Passos de Instalação\n\n1. **Clonar o Repositório**\n\n   ```bash\n   git clone https://github.com/seu-usuario/nlw-agents-server.git\n   cd nlw-agents-server\n   ```\n\n2. **Instalar Dependências**\n\n   ```bash\n   npm install\n   ```\n\n3. **Configurar Variáveis de Ambiente**\n\n   - Crie um arquivo `.env` na raiz do projeto\n   - Adicione as configurações necessárias (exemplo):\n     ```\n     DATABASE_URL=postgresql://docker:docker@localhost:5432/agents\n     ```\n\n4. **Iniciar Banco de Dados**\n\n   ```bash\n   # Inicia o container do PostgreSQL em segundo plano\n   docker-compose up -d\n   ```\n\n5. **Credenciais do Banco de Dados**\n\n   - Usuário: `docker`\n   - Senha: `docker`\n   - Banco de Dados: `agents`\n   - Porta: `5432`\n\n6. **Aplicar Migrations**\n\n   ```bash\n   npx drizzle-kit migrate\n   ```\n\n7. **Popular Banco de Dados (Opcional)**\n   ```bash\n   npm run db:seed\n   ```\n\n**Nota**: Sempre verifique o arquivo `.env` para configurações personalizadas de conexão.\n\n## 🚀 Scripts Disponíveis\n\n- `npm run dev`: Inicia o servidor em modo de desenvolvimento\n- `npm start`: Inicia o servidor em produção\n- `npm run db:seed`: Popula o banco de dados com dados iniciais\n\n---\n\nProjeto desenvolvido com amor durante o evento Next Level Week (NLW) da Rocketseat. 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonkaiti%2Fnlw-agents-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersonkaiti%2Fnlw-agents-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersonkaiti%2Fnlw-agents-server/lists"}