{"id":18298398,"url":"https://github.com/fusionauth/fusionauth-quickstart-javascript-angular-web","last_synced_at":"2025-04-05T13:33:26.882Z","repository":{"id":191917185,"uuid":"685638909","full_name":"FusionAuth/fusionauth-quickstart-javascript-angular-web","owner":"FusionAuth","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-26T15:14:59.000Z","size":2882,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-08-26T17:58:08.557Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FusionAuth.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-31T17:11:27.000Z","updated_at":"2024-07-28T05:56:57.000Z","dependencies_parsed_at":"2023-11-15T01:40:38.852Z","dependency_job_id":"863dfa86-cd97-4c72-9ca3-d3fe03f6c988","html_url":"https://github.com/FusionAuth/fusionauth-quickstart-javascript-angular-web","commit_stats":null,"previous_names":["fusionauth/fusionauth-quickstart-javascript-angular-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-javascript-angular-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-javascript-angular-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-javascript-angular-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FusionAuth%2Ffusionauth-quickstart-javascript-angular-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FusionAuth","download_url":"https://codeload.github.com/FusionAuth/fusionauth-quickstart-javascript-angular-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223192692,"owners_count":17103564,"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":["hacktoberfest"],"created_at":"2024-11-05T15:05:57.469Z","updated_at":"2024-11-05T15:05:58.213Z","avatar_url":"https://github.com/FusionAuth.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quickstart: Angular app with FusionAuth\n\nThis repository contains an Angular app that works with a locally running instance of [FusionAuth](https://fusionauth.io/), the authentication and authorization platform.\n\n## Setup\n\n### Prerequisites\n- [Node](https://nodejs.org/en/download/): This will be needed to run the Angular app.\n- [Docker](https://www.docker.com): The quickest way to stand up FusionAuth.\n  - (Alternatively, you can [Install FusionAuth Manually](https://fusionauth.io/docs/v1/tech/installation-guide/)).\n\n### FusionAuth Installation via Docker\n\nIn the root of this project directory (next to this README) are two files [a Docker compose file](./docker-compose.yml) and an [environment variables configuration file](./.env). Assuming you have Docker installed on your machine, you can stand up FusionAuth up on your machine with:\n\n```\ndocker compose up -d\n```\n\nThe FusionAuth configuration files also make use of a unique feature of FusionAuth, called [Kickstart](https://fusionauth.io/docs/v1/tech/installation-guide/kickstart): when FusionAuth comes up for the first time, it will look at the [Kickstart file](./kickstart/kickstart.json) and mimic API calls to configure FusionAuth for use when it is first run. \n\n\u003e **NOTE**: If you ever want to reset the FusionAuth system, delete the volumes created by docker compose by executing `docker compose down -v`. \n\nFusionAuth will be initially configured with these settings:\n\n* Your client Id is: `e9fdb985-9173-4e01-9d73-ac2d60d1dc8e`\n* Your client secret is: `super-secret-secret-that-should-be-regenerated-for-production`\n* Your example username is `richard@example.com` and your password is `password`.\n* Your admin username is `admin@example.com` and your password is `password`.\n* Your fusionAuthBaseUrl is 'http://localhost:9011/'\n\nYou can log into the [FusionAuth admin UI](http://localhost:9011/admin) and look around if you want, but with Docker/Kickstart you don't need to.\n\n### Angular complete-application\n\nThe `complete-application` directory contains a minimal Angular app configured to authenticate with locally running FusionAuth.\n\n* If you want to use your own server to perform the OAuth token exchange, update the `serverUrl` property of your [config object](https://github.com/FusionAuth/fusionauth-quickstart-javascript-angular-web/blob/main/complete-application/src/app/app.module.ts). See [example server implementation](https://github.com/FusionAuth/fusionauth-javascript-sdk-express).\n\nInstall dependencies and run the Angular app with:\n```\ncd complete-application\nnpm i\nnpm start\n```\n\nNow vist the Angular app at [http://localhost:4200](http://localhost:4200)\nYou can log in with a user preconfigured during Kickstart, `richard@example.com` with the password of `password`.\n\n### Further Information\n\nVisit https://fusionauth.io/quickstarts/quickstart-javascript-angular-web for a step by step guide on how to build this Angular app integrated with FusionAuth from scratch.\n\n### Troubleshooting\n\n* I get `This site can’t be reached  localhost refused to connect.` when I click the Login button\n\nEnsure FusionAuth is running in the Docker container.  You should be able to login as the admin user, `admin@example.com` with the password of `password` at http://localhost:9011/admin\n\n### Maintaining this repo\n\n\u003e Please note that code snippets from this repository are pulled into [this tutorial](https://fusionauth.io/docs/quickstarts/quickstart-javascript-angular-web) on the fusionauth site. Please consider this when making changes here.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-javascript-angular-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-javascript-angular-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusionauth%2Ffusionauth-quickstart-javascript-angular-web/lists"}