{"id":21629444,"url":"https://github.com/jlmonteagudo/angular-ssr","last_synced_at":"2026-04-10T00:42:46.832Z","repository":{"id":38701109,"uuid":"206833252","full_name":"jlmonteagudo/angular-ssr","owner":"jlmonteagudo","description":"Sample project of Angular SSR with deployment in Firebase.","archived":false,"fork":false,"pushed_at":"2023-01-09T11:54:30.000Z","size":2071,"stargazers_count":2,"open_issues_count":37,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T01:31:38.733Z","etag":null,"topics":["angular","angular-ssr","angular-universal","firebase"],"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/jlmonteagudo.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}},"created_at":"2019-09-06T16:26:21.000Z","updated_at":"2021-08-13T21:14:21.000Z","dependencies_parsed_at":"2023-02-08T10:46:00.259Z","dependency_job_id":null,"html_url":"https://github.com/jlmonteagudo/angular-ssr","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/jlmonteagudo%2Fangular-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmonteagudo%2Fangular-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmonteagudo%2Fangular-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlmonteagudo%2Fangular-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlmonteagudo","download_url":"https://codeload.github.com/jlmonteagudo/angular-ssr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244306085,"owners_count":20431737,"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","angular-ssr","angular-universal","firebase"],"created_at":"2024-11-25T02:07:45.640Z","updated_at":"2025-12-30T21:07:27.154Z","avatar_url":"https://github.com/jlmonteagudo.png","language":"TypeScript","readme":"# Ssr\n\nSample project of Angular SSR with deployment in Firebase.\n\n## Steps to run\n\n- clone this repo\n- npm install\n- npm run build:ssr\n- cd functions\n- npm install\n- npm run build\n- firebase deploy\n\n## Steps to prepare an Angular project manually for SSR and deploy in Firebase\n\n- ng add @nguniversal/express-engine --clientProject YOUR-PROJECT-NAME\n- npm install -g firebase-tools\n- firebase login\n- firebase init\n- Which firebase CLI features do you want to setup? Functions and Hosting\n- What language would you like to use to write Cloud Functions? TypeScript \n- What do you want to use as your public directory? dist/browser\n- Configure as a single page app? Y\n- File index.html already exists. Overwrite? N\n- Update firebase.json: replace \"destination\": \"/index.html\" by \"function\": \"ssr\"\n- Update server.ts: add export to the app initialization: export const app = express(); comment out the last three lines\n- Update webpack.server.config.js: add this to output: library: 'app', libraryTarget: 'umd'\n- Update webpack.server.config.js: update this property: externals: [/node_modules/]\n- npm run build:ssr\n- cd functions\n- npm i fs-extra\n- create the file copy-angular-app.js in the folder functions\n- Update functions/package.json: \"build\": \"node copy-angular-app \u0026\u0026 tsc\",\n- Update functions/src/index.ts\n- npm run build\n- firebase deploy\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlmonteagudo%2Fangular-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlmonteagudo%2Fangular-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlmonteagudo%2Fangular-ssr/lists"}