{"id":15769778,"url":"https://github.com/embarq/rently","last_synced_at":"2026-01-19T09:01:31.214Z","repository":{"id":38665842,"uuid":"210350592","full_name":"embarq/rently","owner":"embarq","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-07T11:00:19.000Z","size":13617,"stargazers_count":1,"open_issues_count":37,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-11T14:25:36.688Z","etag":null,"topics":["angular","angular-ssr","bootstrap","firebase","firebase-functions","ssr"],"latest_commit_sha":null,"homepage":"https://dc-rently.web.app","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/embarq.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-23T12:33:00.000Z","updated_at":"2021-04-03T05:14:49.000Z","dependencies_parsed_at":"2023-02-07T00:01:34.178Z","dependency_job_id":null,"html_url":"https://github.com/embarq/rently","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/embarq/rently","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embarq%2Frently","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embarq%2Frently/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embarq%2Frently/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embarq%2Frently/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embarq","download_url":"https://codeload.github.com/embarq/rently/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embarq%2Frently/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","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":["angular","angular-ssr","bootstrap","firebase","firebase-functions","ssr"],"created_at":"2024-10-04T14:05:49.115Z","updated_at":"2026-01-19T09:01:31.197Z","avatar_url":"https://github.com/embarq.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rently [![CircleCI](https://circleci.com/gh/embarq/rently/tree/master.svg?style=svg)](https://circleci.com/gh/embarq/rently/tree/master)\n\n## Development\n\n- Clone the repo\n- Install dependencies(npm recommended)\n- Download runtime config via `npm run appconfig`\n- Use one of the scripts from the list below\n\n## Scripts\n\n|Topic|Script|\n|-----|------|\n|General development|`serve`|\n|Development SSR build|`build:all:dev`|\n|Production SSR build|`build:all`|\n|Interact with SSR|`firebase serve`|\n|Download runtime config|`appconfig`|\n\n## SSR development notes\n\n- The SSR part was initially generated using Angular CLI as described in [official docs](https://angular.io/guide/universal)\n- Since the project heavily depends on Firebase services(using AngularFire wrapper) we need to some fixes in regards building/packaging firebase sources:\n  - [`webpack.server.config.js`] Point out modules resolution order in `resolve.mainFields`\n  - [`webpack.server.config.js`] Modify `externals` - add `/^firebase/` entry since Firebase has some troubles being bundled when in the Node environment\n  - [`webpack.server.config.js`] Provide `output.libraryTarget` \u0026 `output.library` data because we want to run out SSR server in the Firebase function called `ssr`\n  - Move firebase web config into functions remote config. You can download remote config using `npm run appconfig`\n  - [`src/app/core/core.module.ts`] Replace generic `AngularFireModule.initializeApp({ })` with manual initialization of `FirebaseOptionsToken` with value from `environment`\n- `server.ts` file generated by Angular CLI was enhanced with logging and some fixes:\n  - Add important pollyfils for firebase running in node\n  - Rewrite `Express.Request.originalUrl` from to absolute to relative path. Original url initially comes as `https://{firebase-project-id}/{page-route}`. We need to get rid of the first part for Angular Router to correctly resolve path within the frontend app navigation\n  - Instead of listening the SSR server it needs to be exported for cloud function to actually run it\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app 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\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarq%2Frently","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembarq%2Frently","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembarq%2Frently/lists"}