{"id":29268561,"url":"https://github.com/hashdefault/news-website","last_synced_at":"2026-04-12T15:38:16.767Z","repository":{"id":273770692,"uuid":"920827485","full_name":"hashdefault/news-website","owner":"hashdefault","description":"website de notícias com integração de api news data","archived":false,"fork":false,"pushed_at":"2025-05-16T16:55:10.000Z","size":1606,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-28T13:44:44.239Z","etag":null,"topics":["aws","css","js","nginx","php","vuejs"],"latest_commit_sha":null,"homepage":"https://news.bitsbylucas.com","language":"Vue","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/hashdefault.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-01-22T20:53:00.000Z","updated_at":"2025-05-16T16:55:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"460f47e1-6828-4824-ad0d-65f58f2074ef","html_url":"https://github.com/hashdefault/news-website","commit_stats":null,"previous_names":["lugabrielbueno/news-website","hashdefault/news-website"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashdefault/news-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashdefault%2Fnews-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashdefault%2Fnews-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashdefault%2Fnews-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashdefault%2Fnews-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashdefault","download_url":"https://codeload.github.com/hashdefault/news-website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashdefault%2Fnews-website/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263608944,"owners_count":23488095,"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","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":["aws","css","js","nginx","php","vuejs"],"created_at":"2025-07-04T19:39:01.554Z","updated_at":"2026-04-12T15:38:11.746Z","avatar_url":"https://github.com/hashdefault.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portal de notícias 📰\n\n[![Vue.js](https://img.shields.io/badge/-Vue.js-4FC08D?logo=vue.js\u0026logoColor=white)](https://vuejs.org/)\n[![PHP](https://img.shields.io/badge/PHP-%23777BB4?style=flat\u0026logo=php\u0026logoColor=white)](https://www.php.net/)\n[![AWS](https://img.shields.io/badge/AWS-%23FF9900?style=flat\u0026logo=amazon-aws\u0026logoColor=white)](https://aws.amazon.com/)\n[![EC2](https://img.shields.io/badge/Amazon%20EC2-%23FF9900?style=flat\u0026logo=amazon-aws\u0026logoColor=white)](https://aws.amazon.com/ec2/)\n[![S3](https://img.shields.io/badge/Amazon%20S3-%23FF9900?style=flat\u0026logo=amazon-s3\u0026logoColor=white)](https://aws.amazon.com/s3/)\n[![CloudFront](https://img.shields.io/badge/Amazon%20CloudFront-%23FF9900?style=flat\u0026logo=amazon-aws\u0026logoColor=white)](https://aws.amazon.com/cloudfront/)\n[![Route 53](https://img.shields.io/badge/Amazon%20Route%2053-%23FF9900?style=flat\u0026logo=amazon-aws\u0026logoColor=white)](https://aws.amazon.com/route53/)\n[![JSON API](https://img.shields.io/badge/JSON%20API-%23000000?style=flat\u0026logo=json\u0026logoColor=white)](https://jsonapi.org/)\n[![Ubuntu](https://img.shields.io/badge/Ubuntu-%23E95420?style=flat\u0026logo=ubuntu\u0026logoColor=white)](https://ubuntu.com/)\n[![NGINX](https://img.shields.io/badge/NGINX-%23009639?style=flat\u0026logo=nginx\u0026logoColor=white)](https://www.nginx.com/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\nEste é um simples exemplo de um site de notícias com Json API integrada para busca de novas/últimas notícias.\nContém com um canal ao vivo 24hrs (canal: abc news)\n\nTecnologias:\n- API: [newsdata.io](https://newsdata.io/)\n- Vue.Js \n- PHP\n- Nginx\n- AWS EC2 (S.O. Ubuntu)\n- AWS S3 Bucket\n- AWS Cloudfront\n- AWS Route 53\n\n\n## Screenshot\n![image](https://github.com/user-attachments/assets/c82752a8-ef53-4b8f-9a45-2e94af1bebce)\n\n\n\n\n\n## Como utilizar\n1. Você vai precisar de uma API KEY gerada no site da [API](https://newsdata.io/) pode ser gerada gratuitamente\n\n2. Configure o arquivo php-backend/.env\n```\nAPI_KEY=sua_api_key1234abcd\n```\n\n3. Configure o arquivo vue-frontend/.env\n```\nAPI_URL=http://localhost:8000\n```\n\n4. No arquivo get-news.php você vai precisar colocar a mesma url acima (http://localhost:8000)\n\n\n5. Instale PHP \n```\n$ sudo apt install php #ubuntu e derivados\n\n#ou\n\n$ sudo pacman install php #arch e derivados\n```\n\n6. Inicie o servidor do PHP\n```\n$ cd caminho/para/projeto/php-backend\n\n$ php -S localhost:8000\n```\n\n7. Inicie o VueJS para frontend\n```\n$ cd caminho/para/projeto/vue-frontend\n\n$ npm install\n\n$ npm run dev\n```\n\n8. O projeto já deve estar rodando na porta onde VueJS exibiu para você! 🚀🚀🚀\n- http://localhost:5173/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashdefault%2Fnews-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashdefault%2Fnews-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashdefault%2Fnews-website/lists"}