{"id":23735618,"url":"https://github.com/wandri/angular-firebase-deployement","last_synced_at":"2026-05-04T20:39:39.626Z","repository":{"id":128381028,"uuid":"174107777","full_name":"wandri/angular-firebase-deployement","owner":"wandri","description":"Steps to deploy an angular application in firebase.","archived":false,"fork":false,"pushed_at":"2019-03-06T11:06:16.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T17:31:34.255Z","etag":null,"topics":["angular","firebase","firebase-hosting"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wandri.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":"2019-03-06T08:52:58.000Z","updated_at":"2019-03-06T11:06:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2e0ce27-971e-42a9-8767-ab5406f92717","html_url":"https://github.com/wandri/angular-firebase-deployement","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wandri/angular-firebase-deployement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandri%2Fangular-firebase-deployement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandri%2Fangular-firebase-deployement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandri%2Fangular-firebase-deployement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandri%2Fangular-firebase-deployement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wandri","download_url":"https://codeload.github.com/wandri/angular-firebase-deployement/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wandri%2Fangular-firebase-deployement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32624682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: 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":["angular","firebase","firebase-hosting"],"created_at":"2024-12-31T06:20:18.891Z","updated_at":"2026-05-04T20:39:39.621Z","avatar_url":"https://github.com/wandri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steps to deploy an angular application with firebase hosting.\n\n1. Create a google account.\n\n2. Go to the [firebase console](https://console.firebase.google.com).\n\n3. In the firebase console, create a new project.\n\n    ![firebase init](./images/new_project.jpg)\n    \n    ![firebase init](./images/new_project_detail.jpg)\n    \n    - Remember the id of the project.\n    \n    - Specify your region and validate.\n\n5. Install [Nodejs](https://nodejs.org/en/download/)\n\n6. Install angular-cli and firebase-tools.\n\n    ```\n    npm install -g @angular/cli firebase-tools\n    ```\n\n7. Create a new angular project.\n    ```\n    ng new angular-firebase\n    ```\n\n8. Build your application.\n\nIn your angular folder, build the application.\n\n    ```\n    ng build --aot\n    ```\n\nIt will create a `dist` folder with your code *(The folder can be hidden by .gitignore)*.\n\n9. Log in to firebase\n    ```\n    firebase login\n    ```\n\n10. Initialize your project\n    ```\n    firebase init\n    ```\n\n    ![firebase init](./images/firebase_init.jpg)\n\n    ![firebase init host](./images/firebase_init_host.jpg)\n\n    - Select hosting in the choice.\n    \n    - Select your project or 'don't setup a default project'\n    \n    ![firebase path folder](./images/firebase_dist.jpg)\n\n    - To the question 'What do you want to use as your public directory ?', give the path to your `dist/\u003cangular-project-name\u003e` folder.\n    \n    - To the question 'Configure as a single-page app (rewrite all urls to /index.html)?', answer 'Yes'.\n    \n    - To the question 'File angular-firebase/dist/index.html already exists. Overwrite?', answer 'No'.\n\n11. (Optional) default project configuration.\n\n    If you answer 'don't setup a default project', in the file `.firebaserc` copy the following code with the id of the project :\n    \n    ```\n    {\n      \"projects\": {\n        \"default\": \u003cPROJECT_ID\u003e\n      }\n    }\n    ```\n\n12. Deploy to firebase\n    ```\n    firebase deploy\n    ```\n    \n    The link to the application can be found directly in the terminal or in the firebase console in the hosting menu.\n\n    ![firebase project id](./images/firebase_project_id.jpg)\n\n    ![firebase hosting menu](./images/firebase_hosting_menu.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwandri%2Fangular-firebase-deployement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwandri%2Fangular-firebase-deployement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwandri%2Fangular-firebase-deployement/lists"}