{"id":13807870,"url":"https://github.com/descope-sample-apps/angular-sample-app","last_synced_at":"2025-05-14T00:32:12.939Z","repository":{"id":183533687,"uuid":"669004835","full_name":"descope-sample-apps/angular-sample-app","owner":"descope-sample-apps","description":"This is a generic sample app, built in Angular, that showcases Descope Authentication using the Angular SDK.","archived":false,"fork":false,"pushed_at":"2025-04-26T00:51:10.000Z","size":380,"stargazers_count":19,"open_issues_count":10,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-26T01:39:48.051Z","etag":null,"topics":["angular","app","authentication","descope","sample"],"latest_commit_sha":null,"homepage":"","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/descope-sample-apps.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,"zenodo":null}},"created_at":"2023-07-21T05:53:48.000Z","updated_at":"2025-03-20T00:41:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"b694a78f-e111-49d8-a453-dc2debb03930","html_url":"https://github.com/descope-sample-apps/angular-sample-app","commit_stats":null,"previous_names":["descope-sample-apps/angular-webjs-sample-app","descope-sample-apps/angular-sample-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/descope-sample-apps%2Fangular-sample-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/descope-sample-apps%2Fangular-sample-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/descope-sample-apps%2Fangular-sample-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/descope-sample-apps%2Fangular-sample-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/descope-sample-apps","download_url":"https://codeload.github.com/descope-sample-apps/angular-sample-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046427,"owners_count":22005592,"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","app","authentication","descope","sample"],"created_at":"2024-08-04T01:01:31.486Z","updated_at":"2025-05-14T00:32:07.925Z","avatar_url":"https://github.com/descope-sample-apps.png","language":"HTML","readme":"\u003cimg width=\"1400\" alt=\"image\" src=\"https://github.com/descope-sample-apps/angular-sample-app/assets/32936811/c43be1ec-3d96-4d4f-9ac3-f4be474d5732\"\u003e\n\n---\n\nThis sample app demonstrates how to integrate the Descope authentication service into an Angular application. This application includes a login screen using Descope Angular SDK, a user dashboard to display user information and a navigation bar that dynamically adjusts based on the user's authentication state.\n\n## Table of Contents 📝\n\n1. [Features](#features)\n2. [Installation](#installation)\n3. [Running the Application](#running-the-application)\n4. [Issue Reporting](#issue-reporting)\n\n## Features ✨\n\n* **Descope Login**: Users can login with their Descope credentials.\n* **User Dashboard**: After logging in, users are redirected to a dashboard which displays their information fetched using the Descope SDK.\n* **Navbar**: A navigation bar that includes a login/logout button, which adjusts its display based on whether a user is logged in or not.\n\n## Installation 💿\n\n1. Clone the repository:\n```bash\ngit clone git@github.com:descope-sample-apps/angular-sample-app.git\n```\n\n2. Install dependencies:\n```bash\ncd descope-angular-app\nyarn install\n```\n\n3. Setup environment variables:\n\n* Use the `environment.ts.example` file, located in `/src/environments/environment.ts.example`, and change the name to `environment.ts`.\n\n* Fill in the variable `descopeProjectId` with your Project ID from [Project Settings](https://app.descope.com/settings/project) in the Console.\n    \n```javascript\nexport const environment = {\n    production: false,\n    descopeProjectId: \"\u003cDescope Project ID\u003e\",\n};\n```\n\n## Running the Application 🚀\n\nTo start the application, run:\n\n```bash\nyarn start\n```\n\nNavigate to `http://localhost:4200/` in your browser.\n\n## Issue Reporting ⚠️\n\nThis project is a simple demonstration of integrating Descope into an Angular application. For any issues or suggestions, feel free to open an issue in the GitHub repository. \n\n## License 📜\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["Site Templates"],"sub_categories":["Free Templates"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdescope-sample-apps%2Fangular-sample-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdescope-sample-apps%2Fangular-sample-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdescope-sample-apps%2Fangular-sample-app/lists"}