{"id":30441600,"url":"https://github.com/robsonmt/code-challenge-mettzer","last_synced_at":"2025-11-11T18:19:42.579Z","repository":{"id":307573038,"uuid":"1028076093","full_name":"RobsonMT/Code-Challenge-Mettzer","owner":"RobsonMT","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-31T23:24:21.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T07:09:20.171Z","etag":null,"topics":["erb-template","postgresql","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/RobsonMT.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}},"created_at":"2025-07-29T02:11:17.000Z","updated_at":"2025-08-01T21:04:31.000Z","dependencies_parsed_at":"2025-08-01T00:54:06.889Z","dependency_job_id":"9eb3e168-6bc3-41fa-b141-677cff289dca","html_url":"https://github.com/RobsonMT/Code-Challenge-Mettzer","commit_stats":null,"previous_names":["robsonmt/code-challenge-mettzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobsonMT/Code-Challenge-Mettzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobsonMT%2FCode-Challenge-Mettzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobsonMT%2FCode-Challenge-Mettzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobsonMT%2FCode-Challenge-Mettzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobsonMT%2FCode-Challenge-Mettzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobsonMT","download_url":"https://codeload.github.com/RobsonMT/Code-Challenge-Mettzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobsonMT%2FCode-Challenge-Mettzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283905387,"owners_count":26914421,"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-11-11T02:00:06.610Z","response_time":65,"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":["erb-template","postgresql","ruby-on-rails"],"created_at":"2025-08-23T07:09:23.971Z","updated_at":"2025-11-11T18:19:42.563Z","avatar_url":"https://github.com/RobsonMT.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📰 Mettzer News - Projeto Ruby on Rails\n\nEste projeto é uma aplicação Ruby on Rails que consome notícias públicas via API, permite ao usuário salvar artigos para leitura posterior, autenticar com Devise e visualizar seus salvos.\n\n---\n\n## 🚀 Tecnologias\n\n- Ruby 3.0.2\n- Rails 7.x\n- PostgreSQL\n- Devise (autenticação)\n- TailwindCSS\n- NewsAPI\n\n---\n\n## ⚙️ Pré-requisitos\n\nAntes de começar, instale:\n\n- [Ruby 3.0.2](https://www.ruby-lang.org/)\n- [Rails](https://rubyonrails.org/) (`gem install rails`)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Bundler](https://bundler.io/) (`gem install bundler`)\n- Node.js e Yarn (`sudo apt install nodejs yarn`)\n\n---\n\n## 📥 Passo a passo para rodar o projeto\n\n### 1. Clone o repositório\n\n```bash\ngit clone git@github.com:RobsonMT/Code-Challenge-Mettzer.git\ncd Code-Challenge-Mettzer\n```\n\n### 2. Instale as dependências\n\n```bash\nbundle install\n```\n\n### 3. Configure as variáveis de ambiente\n\nCrie um arquivo `.env` na raiz do projeto:\n\n```env\nNEWS_API_KEY=sua_chave_da_api\n```\n\nCaso não possua uma chave de api, acesse: [https://newsapi.org/](https://newsapi.org/) \n\n### 4. Instale a gem `dotenv-rails` caso não tenha:\n\n```bash\nbundle add dotenv-rails\n```\n\n### 5. Configure o banco de dados\n\nEdite `config/database.yml` conforme seu usuário/senha PostgreSQL.\n\nDepois, crie e migre o banco:\n\n```bash\nrails db:create db:migrate\n```\n\n### 6. Inicie o servidor\n\n```bash\nrails server\n```\n\nAcesse: [http://localhost:3000](http://localhost:3000)\n\n---\n\n## 👥 Funcionalidades\n\n- Registro e login de usuários com Devise\n- Pesquisa de artigos via API externa\n- Salvar artigos para ler mais tarde\n- Listagem e remoção dos artigos salvos\n- Interface responsiva com TailwindCSS\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonmt%2Fcode-challenge-mettzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobsonmt%2Fcode-challenge-mettzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobsonmt%2Fcode-challenge-mettzer/lists"}