{"id":18715113,"url":"https://github.com/cerbos/getting-started-node","last_synced_at":"2025-09-14T14:35:11.035Z","repository":{"id":40700547,"uuid":"428712721","full_name":"cerbos/getting-started-node","owner":"cerbos","description":"https://www.youtube.com/watch?v=caqUh6i3vVQ","archived":false,"fork":false,"pushed_at":"2025-07-07T07:53:32.000Z","size":1148,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-12T01:02:03.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=caqUh6i3vVQ","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cerbos.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":"2021-11-16T15:36:42.000Z","updated_at":"2025-07-07T07:53:35.000Z","dependencies_parsed_at":"2024-03-04T05:31:45.257Z","dependency_job_id":"45d680d8-476d-4e5a-93a4-17d6a5d0abd8","html_url":"https://github.com/cerbos/getting-started-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cerbos/getting-started-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fgetting-started-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fgetting-started-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fgetting-started-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fgetting-started-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cerbos","download_url":"https://codeload.github.com/cerbos/getting-started-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerbos%2Fgetting-started-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265934185,"owners_count":23852086,"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-11-07T13:07:36.738Z","updated_at":"2025-07-19T12:32:36.628Z","avatar_url":"https://github.com/cerbos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started - Node.js\n\nAn example application of integrating [Cerbos](https://cerbos.dev) with an [Express](https://expressjs.com/) server.\n\n\u003ca href=\"https://www.youtube.com/watch?v=caqUh6i3vVQ\" target=\"_blank\"\u003e\u003cimg src=\"docs/video.png\" /\u003e\u003c/a\u003e\n\n- [Try online with the Cerbos playground](https://play.cerbos.dev)\n- [Explore demo repositories](https://github.com/cerbos)\n- [Read the documentation](https://docs.cerbos.dev)\n- [Subscribe to our newsletter](https://cerbos.dev/subscribe)\n- [Join the community on Slack](http://go.cerbos.io/slack)\n\n## Dependencies\n\n- Node.js\n- Docker for running the [Cerbos Policy Decision Point (PDP)](https://docs.cerbos.dev/cerbos/latest/installation/container.html)\n\n## Getting Started\n\n1. Start up the Cerbos PDP instance docker container. This will be called by the express app to check authorization.\n\n```bash\ncd cerbos\n./start.sh\n```\n\n2. Install node dependencies\n\n```bash\nnpm install\n```\n\n3. Start the express server\n\n```bash\nnpm run start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fgetting-started-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerbos%2Fgetting-started-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerbos%2Fgetting-started-node/lists"}