{"id":16652664,"url":"https://github.com/gabrielczar/semana-do-angular","last_synced_at":"2026-04-09T16:42:34.516Z","repository":{"id":89620608,"uuid":"97078913","full_name":"GabrielCzar/semana-do-angular","owner":"GabrielCzar","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-28T01:32:54.000Z","size":4852,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T09:41:43.363Z","etag":null,"topics":["angular-cli","angular4","bulma-ui","firebase-database"],"latest_commit_sha":null,"homepage":null,"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/GabrielCzar.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":"2017-07-13T04:09:34.000Z","updated_at":"2017-08-30T20:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f17ba9d-0c90-4596-a326-cab857110ba5","html_url":"https://github.com/GabrielCzar/semana-do-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fsemana-do-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fsemana-do-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fsemana-do-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Fsemana-do-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielCzar","download_url":"https://codeload.github.com/GabrielCzar/semana-do-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243251581,"owners_count":20261239,"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":["angular-cli","angular4","bulma-ui","firebase-database"],"created_at":"2024-10-12T09:29:18.695Z","updated_at":"2025-12-26T16:59:56.022Z","avatar_url":"https://github.com/GabrielCzar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# semana-do-angular\n\n- Angular CLI\n\t- ng new nome_project\n\t- ng serve\n\t- ng generate component nome_component\n\t- ng new nome_project --style=sass\n\t\n\n- Ambiente de produção:\n\t- Para testar localmente use:\n\t\t- JIT - Just in time\n\t\t``` ng serve --prod ```\n\t\t- AOT - Ahead of time\n\t\t``` ng serve --prod --aot ```\n\t- Para gerar a build de producao onde será gerada a pasta contendo o conteudo minificado para o servidor\n\t\t- AOT\n\t\t``` ng build --prod --aot ```\n\t- Para fazer deploy no Github Pages\n\t\t- Gere a build AOT da aplicacao\n\t\t- Crie um arquivo 404.html com o mesmos dados do index.html (Gamb master)\n\t\t- Crie o link para repositorio na pasta dist gerada no build e envie os dados para o github\n\t\t- Sua aplicação ja deve estar funcionando normalmente\n\t\t- Para otimizar as tarefas:\n\t\t\tQuando se envia a build e tentar fazer alguma alteracao localmente, será excluida a pasta dist\n\t\t\tna hora de execucao do ng serve, com isso pode-se criar um script para otimizar toda essa atividade no package.json. Segue um exemplo:\n\t\t\t``` \"build:prod\" : ng build --prod --aot ```\n\t\t\t```\t\"deploy:ghp\"  : \"npm run build:prod \u0026\u0026 cd dist \u0026\u0026 cp index.html 404.html \u0026\u0026 git init \u0026\u0026 git add . \u0026\u0026 git commit -m 'deploy' \u0026\u0026 git remote add origin https://github.com/user-deploy/repositorio-deploy.github.io \u0026\u0026 git push origin master --force\" ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Fsemana-do-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielczar%2Fsemana-do-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Fsemana-do-angular/lists"}