{"id":20844550,"url":"https://github.com/pushpabrol/nodejs-api-rs","last_synced_at":"2026-04-22T11:31:34.837Z","repository":{"id":92529864,"uuid":"72872813","full_name":"pushpabrol/nodejs-api-rs","owner":"pushpabrol","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-04T20:36:02.000Z","size":1325,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T04:34:10.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pushpabrol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-04T18:01:28.000Z","updated_at":"2016-11-17T14:14:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf1ce606-c196-4c50-be59-71ec6b389e12","html_url":"https://github.com/pushpabrol/nodejs-api-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fnodejs-api-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fnodejs-api-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fnodejs-api-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pushpabrol%2Fnodejs-api-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pushpabrol","download_url":"https://codeload.github.com/pushpabrol/nodejs-api-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243205234,"owners_count":20253427,"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-18T02:09:55.815Z","updated_at":"2025-12-26T11:49:28.731Z","avatar_url":"https://github.com/pushpabrol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth0 + NodeJS API Seed\nThis is the seed project you need to use if you're going to create a NodeJS API. You'll mostly use this API either for a SPA or a Mobile app. If you just want to create a Regular NodeJS WebApp, please check [this other seed project](https://github.com/auth0/node-auth0/tree/master/examples/nodejs-regular-webapp)\n\n## Setup within Auth0\nWithin Auth0 go to https://manage.auth0.com/#/apis\n\nCreate a new API \nExample of settings: \n- Identifier = http://mynodeapi/\n- Allow offline access = true\n- Signing Algorith = RS256\n- Define some scopes for the API such as -\u003e read:data, edit:data \n\n#Running the example\nIn order to run the example you need to have npm and nodejs installed.\n\nRun `npm install` to ensure local dependencies are available.\n\nYou also need to set the Auth0 Domain and the Identifier of the API you created within Auth0 Management console for your Auth0 app as enviroment variables with the following names respectively: `AUTH0_DOMAIN` and `AUDIENCE`.\n\nFor that, the following should have been already created for you; if not, just create a file named `.env` in the directory and set the values like the following, the app will just work:\n\n````bash\n# .env file\nAUTH0_DOMAIN={domain}\nAUDIENCE={api identifier defined within Auth0}\n````\n\nOnce you've set those 2 enviroment variables, just run `npm start` and try calling [http://localhost:3001/ping](http://localhost:3001/ping)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushpabrol%2Fnodejs-api-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpushpabrol%2Fnodejs-api-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpushpabrol%2Fnodejs-api-rs/lists"}