{"id":16353821,"url":"https://github.com/beeman/ngx-formly-auth-example","last_synced_at":"2025-04-12T22:36:51.614Z","repository":{"id":66567550,"uuid":"152077411","full_name":"beeman/ngx-formly-auth-example","owner":"beeman","description":"Example of using ngx-formly for Authentication","archived":false,"fork":false,"pushed_at":"2018-10-08T14:43:56.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T16:46:38.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://formly-auth-example.now.sh/","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/beeman.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":"2018-10-08T12:38:05.000Z","updated_at":"2019-05-16T20:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd09a590-a143-467d-a488-1db7e3fb0630","html_url":"https://github.com/beeman/ngx-formly-auth-example","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/beeman%2Fngx-formly-auth-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fngx-formly-auth-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fngx-formly-auth-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeman%2Fngx-formly-auth-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeman","download_url":"https://codeload.github.com/beeman/ngx-formly-auth-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642989,"owners_count":21138352,"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":[],"created_at":"2024-10-11T01:30:57.121Z","updated_at":"2025-04-12T22:36:51.593Z","avatar_url":"https://github.com/beeman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Formly Auth Demo\n\n\nIn this example you can see how you can leverage Formly to create highly reusable authentication pages.\n\nThe example consists of 3 pages, a `sign in`, `sign up` and `forgot password` page. \n\nThe form fields, submit buttons and the links to the other pages are all defined in a configuration file: `src/app/auth/auth.config.ts`.\n\nIn `src/app/auth/auth.module.ts` in the configuration of the router it's all wired up. For each of the pages there is a route with a dynamic path, a resolver and a data object where we define the `pageId`.\n\nThe resolver grabs the `pageId` and resolves the matching page from `auth.config.ts`. The component that's being rendered is `AuthIndexComponent` which takes the resolved page from the route data, and passes it in the `AuthPageComponent`. \n\nThe `AuthPageComponent` is responsible for rendering the ui, existing of a Bootstrap card with a title, the form, the buttons and the links.\n\n\nIn case you have any questions, feel free to reach out on [Twitter](https://twitter.com/beeman_nl/) or book a session with me on [CodeMentor](https://www.codementor.io/beeman)!\n\n\n----\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.5.\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%2Fbeeman%2Fngx-formly-auth-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeman%2Fngx-formly-auth-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeman%2Fngx-formly-auth-example/lists"}