{"id":22161340,"url":"https://github.com/hbweb/angular-ssr","last_synced_at":"2025-06-20T07:35:53.473Z","repository":{"id":261740689,"uuid":"777126964","full_name":"hbweb/angular-ssr","owner":"hbweb","description":"Angular 17 with static pages + Tailwind","archived":false,"fork":false,"pushed_at":"2024-11-08T06:14:05.000Z","size":5235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T20:37:58.958Z","etag":null,"topics":["angular","angular-ssr","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","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/hbweb.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-03-25T08:55:24.000Z","updated_at":"2024-11-08T06:14:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2fbe5fb-0197-4179-8435-74f90c54d4b3","html_url":"https://github.com/hbweb/angular-ssr","commit_stats":null,"previous_names":["hbweb/angular-ssr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular-ssr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular-ssr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular-ssr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbweb%2Fangular-ssr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hbweb","download_url":"https://codeload.github.com/hbweb/angular-ssr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245295942,"owners_count":20592125,"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","tailwindcss","typescript"],"created_at":"2024-12-02T04:14:27.931Z","updated_at":"2025-03-24T15:24:57.944Z","avatar_url":"https://github.com/hbweb.png","language":"TypeScript","readme":"# DTM Portal UI\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.1. \nThis project come with Angular SSR supported. However, we only use `prerender` feature for static pages as this app only have one single static homepage for now.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build \u0026 Pre-render\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\nRun `npm run prerender` to prerender static pages for this project. The build artifacts will be stored in the `dist/browser` \u0026 `dist/server` directory.\n\n## Pipeline \u0026 Deployment\n\nSince we don't actually use Server Side Rendering (SSR) at least in the scope of this application, we only care about the `dist/browser` folder. Hence, these static pages would need to zip up and deploy to our server.\n\nPlease follow these steps:\n\nRun `npm i`\nRun `npm run prerender`\n\nOnce all files have been compiled and generated, we just need to copy all files under `dist/browser` folder onto our server. Alternatively, run this script to test it locally.\n\nRun `npm run serve:ssr` to start a Node express server to server `dist/browser` web-root.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbweb%2Fangular-ssr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhbweb%2Fangular-ssr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbweb%2Fangular-ssr/lists"}