{"id":13626446,"url":"https://github.com/permitio/permit-demo-todos-nodejs","last_synced_at":"2025-10-19T16:51:03.824Z","repository":{"id":42455632,"uuid":"510642074","full_name":"permitio/permit-demo-todos-nodejs","owner":"permitio","description":"A demo todos application in React+NodeJS that uses Permit.io for permissions","archived":false,"fork":false,"pushed_at":"2024-03-27T01:46:49.000Z","size":1065,"stargazers_count":4,"open_issues_count":12,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-30T01:06:26.165Z","etag":null,"topics":["example"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/permitio.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}},"created_at":"2022-07-05T08:02:02.000Z","updated_at":"2025-03-13T15:56:20.000Z","dependencies_parsed_at":"2023-12-19T18:44:36.144Z","dependency_job_id":"d3356e8e-97ed-4487-8e1f-ac69f290f3ac","html_url":"https://github.com/permitio/permit-demo-todos-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/permitio/permit-demo-todos-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-demo-todos-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-demo-todos-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-demo-todos-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-demo-todos-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/permitio","download_url":"https://codeload.github.com/permitio/permit-demo-todos-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/permitio%2Fpermit-demo-todos-nodejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268330912,"owners_count":24233151,"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-08-02T02:00:12.353Z","response_time":74,"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":["example"],"created_at":"2024-08-01T21:02:18.915Z","updated_at":"2025-10-19T16:51:03.740Z","avatar_url":"https://github.com/permitio.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp  align=\"center\"\u003e\n \u003cimg src=\"https://i.ibb.co/zh8k46H/logo-square.png\" height=170 alt=\"Permit.io\" border=\"0\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\nPermit.io Demo (Todos)\n\u003c/h1\u003e\n\n# What's in this repo?\n\nPermit.io is the permissions infrastructure for the internet. A fullstack authorization solution enabling developers to bake-in access-control into their products within minutes and have them ready for future demands from customers and regulation.\n\nIn this repo you'll find a demo todos application implemented in Node.js that uses permit.io to enforce permissions.\n\n# How to run this app\n\n## 1. Prerequisites\n\nThis app requires an Auth0 account (for authentication) and Permit.io account (for authorization).\n\n### Auth0 Account\nIf you want to open your own Auth0 account (for authentication), [click here](https://auth0.com/signup). \n\nBy default the app will use an Auth0 account controlled by Permit.io so it's not mandatory.\n\n### Permit.io Account\nYou'll need to:\n1) Open a free Permit.io account [here](https://app.permit.io).\n2) Complete the account setup, see video tutorial [here](https://docs.permit.io/tutorials/onboarding_demo).\n3) Get your [API Key](https://docs.permit.io/tutorials/quickstart) and save it to `.env` (set the value of `PERMIT_API_KEY`)\n\n#### NOTE: Securely storing secrets\nThis repo is using `.env` for easy learning. Never store your secrets locally in your repo (i.e: in `.env` or any other file), the \"secrets\" you see here are auth0 parameters that are public and are usually embedded into frontend applications. You should **never** commit the Permit API key to a repo, always use a secrets storage solution like Hashicorp Vault or AWS Secrets Manager.\n\n\n## 2. Run the app without permissions enforced\n```\nmake run\n```\n\n## 3. Run the app with permissions enforced\n```\nmake run-with-permit\n```\n\n# \u003ca name=\"community\"\u003e\u003c/a\u003eCommunity and support\n\n- You can find our full documentation at [docs.permit.io](https://docs.permit.io).\n- You can join our [slack community][join-slack-link] for help.\n\n[![Button][badge-slack-link]][join-slack-link]\n\n[badge-slack-link]: https://i.ibb.co/wzrGHQL/Group-749.png\n[join-slack-link]: https://bit.ly/permitioslack\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fpermit-demo-todos-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpermitio%2Fpermit-demo-todos-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpermitio%2Fpermit-demo-todos-nodejs/lists"}