{"id":24957087,"url":"https://github.com/kernelpanic92/ngx-fastboot-medium-examples","last_synced_at":"2026-01-07T17:06:45.738Z","repository":{"id":256437652,"uuid":"855300723","full_name":"KernelPanic92/ngx-fastboot-medium-examples","owner":"KernelPanic92","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-10T16:52:17.000Z","size":237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T13:28:32.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/KernelPanic92.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}},"created_at":"2024-09-10T16:39:08.000Z","updated_at":"2024-09-10T16:52:20.000Z","dependencies_parsed_at":"2024-09-10T19:04:48.216Z","dependency_job_id":null,"html_url":"https://github.com/KernelPanic92/ngx-fastboot-medium-examples","commit_stats":null,"previous_names":["kernelpanic92/ngx-fastboot-medium-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KernelPanic92/ngx-fastboot-medium-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelPanic92%2Fngx-fastboot-medium-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelPanic92%2Fngx-fastboot-medium-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelPanic92%2Fngx-fastboot-medium-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelPanic92%2Fngx-fastboot-medium-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernelPanic92","download_url":"https://codeload.github.com/KernelPanic92/ngx-fastboot-medium-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernelPanic92%2Fngx-fastboot-medium-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28236383,"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","status":"online","status_checked_at":"2026-01-07T02:00:05.975Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-03T06:54:33.309Z","updated_at":"2026-01-07T17:06:45.680Z","avatar_url":"https://github.com/KernelPanic92.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-fastboot-medium-examples\n\nThis repository contains two Angular projects with the same dependencies, demonstrating two different approaches to bootstrapping the application. If you've read the related article, here you can personally test the final bundle size of the two projects.\n\n## Project Structure\n\n- **[classic/](/classic)**: An Angular app using the traditional `bootstrapApplication` method in the `main.ts` file.\n- **[fast/](/fast)**: An Angular app using `ngx-fastboot` for an optimized bootstrap focused on performance.\n\n## Prerequisites\n\nIf you don't have `pnpm`, you can install it by running:\n\n```bash\nnpm install -g pnpm\n```\n\n## Installation\n\n1. Clone this repository:\n\n   ```bash\n   git clone https://github.com/KernelPanic92/ngx-fastboot-medium-examples.git\n   ```\n\n2. Navigate into the project directory:\n\n   ```bash\n   cd ngx-fastboot-medium-examples\n   ```\n\n3. Install dependencies for both projects:\n\n   ```bash\n   pnpm install\n   ```\n\n## Running the Projects\n\nYou can build both projects to compare their final bundle sizes. Each project can be built and run separately:\n\n### Build the `classic` project\n\nThis command builds the project that uses the traditional `bootstrapApplication`:\n\n```bash\ncd classic\npnpm run build\n```\n\n### Build the `main` project\n\nThis command builds the project that uses `ngx-fastboot`:\n\n```bash\ncd fast\npnpm run build\n```\n\n## Comparing the Final Bundle\n\nAfter running the build commands, you will find the compiled bundles output in the terminal console. You can compare the size and content of the files to understand the differences between the two bootstrapping approaches.\n\n## Useful Resources\n\n- [Angular Documentation](https://angular.io/docs)\n- [NGX Fastboot](https://www.npmjs.com/package/ngx-fastboot)\n\n## Contributing\n\nFeel free to open a pull request or report issues in the **Issues** section if you'd like to contribute.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelpanic92%2Fngx-fastboot-medium-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernelpanic92%2Fngx-fastboot-medium-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelpanic92%2Fngx-fastboot-medium-examples/lists"}