{"id":22781855,"url":"https://github.com/reinaldoper/apis-examples-js-vanila","last_synced_at":"2026-04-16T03:31:17.057Z","repository":{"id":251849723,"uuid":"838153819","full_name":"reinaldoper/apis-examples-js-vanila","owner":"reinaldoper","description":"Project done with javaScript, all content done with docker and kubernetes.","archived":false,"fork":false,"pushed_at":"2024-08-14T04:08:56.000Z","size":15467,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T14:41:51.297Z","etag":null,"topics":["bootstrap","css","js","kubernetes-cluster"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/reinaldoper.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}},"created_at":"2024-08-05T04:01:58.000Z","updated_at":"2024-08-14T04:09:00.000Z","dependencies_parsed_at":"2024-08-14T04:28:41.180Z","dependency_job_id":null,"html_url":"https://github.com/reinaldoper/apis-examples-js-vanila","commit_stats":null,"previous_names":["reinaldoper/apis-examples-js-vanila"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reinaldoper/apis-examples-js-vanila","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinaldoper%2Fapis-examples-js-vanila","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinaldoper%2Fapis-examples-js-vanila/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinaldoper%2Fapis-examples-js-vanila/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinaldoper%2Fapis-examples-js-vanila/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reinaldoper","download_url":"https://codeload.github.com/reinaldoper/apis-examples-js-vanila/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reinaldoper%2Fapis-examples-js-vanila/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["bootstrap","css","js","kubernetes-cluster"],"created_at":"2024-12-11T21:08:55.935Z","updated_at":"2026-04-16T03:31:16.891Z","avatar_url":"https://github.com/reinaldoper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend JS Application\n\nEsta é uma aplicação frontend desenvolvida em JavaScript puro (Vanilla JS), que consome diversas APIs, incluindo:\n\n- **Digimons**: Renderiza uma lista de Digimons.\n- **Piadas de Chuck Norris**: Exibe piadas aleatórias de Chuck Norris.\n- **Produtos**: Lista e exibe produtos.\n- **Pokémon**: Permite ao usuário pesquisar por um Pokémon.\n- **Rick and Morty**: Exibe personagens da série Rick and Morty.\n\n## Pré-requisitos\n\nCertifique-se de ter o seguinte instalado:\n\n- [Docker](https://www.docker.com/get-started)\n- [Minikube](https://minikube.sigs.k8s.io/docs/start/)\n- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)\n\n## Estrutura do Projeto\n\n- **index.html**: Página principal da aplicação.\n- **style.css**: Arquivo de estilo da aplicação.\n- **simple-deployment.yml**: Arquivo de configuração para o deployment no Kubernetes.\n\n## Executando a Aplicação\n\n### Rodando com Go Live\n\n1. Abra o projeto em seu editor de texto preferido (ex: VSCode).\n2. Instale a extensão **Live Server**.\n3. Clique com o botão direito no arquivo `index.html` e selecione **Open with Live Server**.\n4. A aplicação será aberta no seu navegador padrão.\n\n### Rodando com Minikube\n\n1. Inicie o Minikube:\n\n  ```bash\n  minikube start\n  ```\n2. Aplique o deployment no cluster:\n\n  ```bash\n  kubectl apply -f simple-deployment.yml\n  ```\n\n3. Exponha o serviço:\n\n  ```bash\n  kubectl expose deployment client-deployment --type=LoadBalancer --name=client --port=80\n  ```\n4. Acesse a aplicação:\n  \n  ```bash\n  minikube service client\n  ```\n\n### Deployment\n- O arquivo simple-deployment.yml contém a configuração do deployment. Ele utiliza a imagem Docker rei200201/app-js:3.1","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freinaldoper%2Fapis-examples-js-vanila","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freinaldoper%2Fapis-examples-js-vanila","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freinaldoper%2Fapis-examples-js-vanila/lists"}