{"id":31107882,"url":"https://github.com/scalekit-inc/nodejs-example-apps","last_synced_at":"2025-09-17T06:00:00.904Z","repository":{"id":290731410,"uuid":"955785935","full_name":"scalekit-inc/nodejs-example-apps","owner":"scalekit-inc","description":"Node.js example applications - Express.js SSO demos and authentication patterns","archived":false,"fork":false,"pushed_at":"2025-09-05T18:20:15.000Z","size":802,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-16T09:10:42.087Z","etag":null,"topics":["authentication","demo","examples","express","javascript","nodejs","sample-apps","sso"],"latest_commit_sha":null,"homepage":"https://docs.scalekit.com/sso/quickstart?tech-stack=nodejs","language":"JavaScript","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/scalekit-inc.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-27T07:37:52.000Z","updated_at":"2025-09-04T14:01:31.000Z","dependencies_parsed_at":"2025-04-30T09:44:55.183Z","dependency_job_id":"2f9b6511-36e0-40ad-9073-aedad8e326ce","html_url":"https://github.com/scalekit-inc/nodejs-example-apps","commit_stats":null,"previous_names":["scalekit-developers/nodejs-example-apps","scalekit-inc/nodejs-example-apps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scalekit-inc/nodejs-example-apps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fnodejs-example-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fnodejs-example-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fnodejs-example-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fnodejs-example-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scalekit-inc","download_url":"https://codeload.github.com/scalekit-inc/nodejs-example-apps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fnodejs-example-apps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275542874,"owners_count":25483429,"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":"2025-09-17T02:00:09.119Z","response_time":84,"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":["authentication","demo","examples","express","javascript","nodejs","sample-apps","sso"],"created_at":"2025-09-17T05:59:59.815Z","updated_at":"2025-09-17T06:00:00.899Z","avatar_url":"https://github.com/scalekit-inc.png","language":"JavaScript","readme":"# Node.js Example Apps\n\nThis repository contains Node.js example applications demonstrating how to integrate with Scalekit services.\n\n## Available Examples\n\n### 1. Embed Admin Portal\n\nThis example shows how to embed a Scalekit admin portal in your Node.js application. It demonstrates:\n\n- Authentication flow using OAuth 2.0 client credentials\n- Generating portal links\n- Serving the portal in an iframe with proper security headers\n\n**Key Files:**\n\n- `embed-admin-portal-sample/index.js` - Main application server\n- `embed-admin-portal-sample/libraries/auth.js` - Authentication helper\n- `embed-admin-portal-sample/libraries/scalekit.js` - Portal link generation\n\n### 2. Authentication Example\n\nThis example demonstrates how to implement authentication using Scalekit's authentication services. It shows:\n\n- OAuth 2.0 token acquisition\n- Secure credential management\n- Error handling for authentication flows\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v16 or higher)\n- Scalekit credentials (client ID and secret)\n- .env file with required environment variables\n\n### Installation\n\n1. Clone this repository\n2. Navigate to the desired example directory\n3. Run `npm install` to install dependencies\n4. Create a `.env` file with your credentials\n5. Run `npm start` to launch the application\n\n## Environment Variables\n\nEach example requires specific environment variables. Refer to the example's README for details.\n\n## Contributing\n\nWe welcome contributions! Please follow these guidelines:\n\n1. Fork the repository\n2. Create a new branch for your feature\n3. Submit a pull request with a clear description of changes\n\n## Support\n\nFor assistance, please contact Scalekit support or open an issue in this repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-inc%2Fnodejs-example-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalekit-inc%2Fnodejs-example-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-inc%2Fnodejs-example-apps/lists"}