{"id":15103449,"url":"https://github.com/ehercoles/curso-angular2","last_synced_at":"2026-01-19T04:32:22.982Z","repository":{"id":153152756,"uuid":"627613392","full_name":"ehercoles/curso-angular2","owner":"ehercoles","description":"Curso Angular v15","archived":false,"fork":false,"pushed_at":"2023-05-04T16:53:33.000Z","size":743,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T11:45:27.578Z","etag":null,"topics":["angular15","angular2","single-page-app","typescript","vs-code"],"latest_commit_sha":null,"homepage":"https://loiane.training/curso/angular","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/ehercoles.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":"2023-04-13T20:43:12.000Z","updated_at":"2023-04-28T22:15:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"60028ceb-91ab-4f10-8c4d-0239779b48eb","html_url":"https://github.com/ehercoles/curso-angular2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehercoles/curso-angular2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehercoles%2Fcurso-angular2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehercoles%2Fcurso-angular2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehercoles%2Fcurso-angular2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehercoles%2Fcurso-angular2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehercoles","download_url":"https://codeload.github.com/ehercoles/curso-angular2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehercoles%2Fcurso-angular2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["angular15","angular2","single-page-app","typescript","vs-code"],"created_at":"2024-09-25T19:24:10.855Z","updated_at":"2026-01-19T04:32:22.967Z","avatar_url":"https://github.com/ehercoles.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Install Node.js from nodejs.org  \n(includes npm: a dependency manager)  \n  \nInstall TypeScript (via cmd)  \nnpm install -g typescript  \n  \nInstall Angular (via cmd)  \nnpm install -g @angular/cli  \nng version  \n  \nTypeScript compiler (transpiler)  \ntsc hello-typescript/main.ts  \nHint: supports decorator (similar to annotation in Java/C#)  \n  \nNew Project  \nng new primeiro-projeto  \ncd primeiro-projeto  \nCompile: ng serve  \n  \nNew Module  \nng g module cursos  \n  \nNew Component  \nng g c cursos  \n  \nNew Service  \nng g s cursos/cursos  \n  \nBootstrap (Aula 118)  \nnpm install bootstrap --save  \nnpm install ngx-bootstrap --save (replaces jQuery UI)  \n  \nBuild  \nng build  \nng build --prod (minified)  \n  \nInstall HTTP Server  \nnpm install http-server -g  \n  \nRun HTTP Server  \nhttp-server  \n  \nNa aula 40 vimos que:  \ndiferentes módulos que instanciam o mesmo serviço compartilham a instância (singleton);  \ndiferentes componentes que instanciam o mesmo serviço possuem suas próprias instâncias.  \n  \nRotas  \nnpm install materialize-css --save  \nnpm install angular2-materialize --save  \nnpm install jquery@^2.2.4 --save  \nnpm install hammerjs --save  \n  \nSimulador Servidor REST (JSON Server)  \nnpm install -g json-server  \nUsage: json-server --watch db.json  \nAlternative: Mockoon: https://mockoon.com/  \n  \nFile Upload back-end em Node (Aula 136)  \nhttps://github.com/expressjs/body-parser  \nnpm i -save express body-parser connect-multiparty cors  \n  \nBuild Produção (Aula 147)  \nnpm run build (já executa o comando 'ng build' configurado no package.json)  \n  \nDeploy Produção (Firebase Hosting)  \nnpm i -g firebase-tools  \nfirebase login  \nfirebase init  \nfirebase deploy  \n  \nDeploy no Firebase com Angular CLI (Aula 149)  \n[npm i -g firebase-tools]  \n[firebase login]  \napagar arquivos 'firebase' e pasta 'dist'  \nng add @angular/fire  \nng deploy  \n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehercoles%2Fcurso-angular2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehercoles%2Fcurso-angular2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehercoles%2Fcurso-angular2/lists"}