{"id":18480648,"url":"https://github.com/anupvarghese/azure-serverless","last_synced_at":"2026-05-16T15:35:53.408Z","repository":{"id":71849950,"uuid":"89145076","full_name":"anupvarghese/azure-serverless","owner":"anupvarghese","description":"Use serverless framework to deploy to Azure Functions","archived":false,"fork":false,"pushed_at":"2017-04-23T22:09:37.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T19:24:46.487Z","etag":null,"topics":["azure","azure-functions","javascript","serverless","serverless-framework"],"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/anupvarghese.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":"2017-04-23T13:46:38.000Z","updated_at":"2017-04-23T13:48:15.000Z","dependencies_parsed_at":"2023-05-27T02:00:15.235Z","dependency_job_id":null,"html_url":"https://github.com/anupvarghese/azure-serverless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anupvarghese/azure-serverless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fazure-serverless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fazure-serverless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fazure-serverless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fazure-serverless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anupvarghese","download_url":"https://codeload.github.com/anupvarghese/azure-serverless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fazure-serverless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33108226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["azure","azure-functions","javascript","serverless","serverless-framework"],"created_at":"2024-11-06T12:19:40.624Z","updated_at":"2026-05-16T15:35:53.372Z","avatar_url":"https://github.com/anupvarghese.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Create Serverless App\n\n```shell\n$ docker-compose run azure\nroot@c01c40041307:/home# npm i serverless -g\nroot@c01c40041307:/home# serverless create --template azure-nodejs --name temp\nServerless: Generating boilerplate...\n  _______                             __\n  |   _   .-----.----.--.--.-----.----|  .-----.-----.-----.\n  |   |___|  -__|   _|  |  |  -__|   _|  |  -__|__ --|__ --|\n  |____   |_____|__|  \\___/|_____|__| |__|_____|_____|_____|\n  |   |   |             The Serverless Application Framework\n  |       |                           serverless.com, v1.11.0\n  -------\n\nServerless: Successfully generated boilerplate for template: \"azure-nodejs\"\nroot@c01c40041307:/home# npm i\nnpm WARN package.json azure-nodejs@1.0.0 No repository field.\nnpm WARN package.json azure-nodejs@1.0.0 No license field.\nnpm WARN engine serverless-azure-functions@0.1.2: wanted: {\"node\":\"\u003e= 6.5.0\"} (current: {\"node\":\"4.7.0\",\"npm\":\"2.15.11\"})\nnpm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\nnpm WARN deprecated node-uuid@1.4.7: Use uuid module instead\nnpm WARN deprecated node-uuid@1.4.8: Use uuid module instead\nserverless-azure-functions@0.1.2 node_modules/serverless-azure-functions\n├── chalk@1.1.3 (supports-color@2.0.0, ansi-styles@2.2.1, escape-string-regexp@1.0.5, strip-ansi@3.0.1, has-ansi@2.0.0)\n├── bluebird@3.5.0\n├── fs-extra@2.1.2 (graceful-fs@4.1.11, jsonfile@2.4.0)\n├── async@2.3.0\n├── zip-folder@1.0.0 (archiver@0.11.0)\n├── request@2.79.0 (tunnel-agent@0.4.3, forever-agent@0.6.1, aws-sign2@0.6.0, oauth-sign@0.8.2, caseless@0.11.0, is-typedarray@1.0.0, stringstream@0.0.5, aws4@1.6.0, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, uuid@3.0.1, qs@6.3.2, combined-stream@1.0.5, mime-types@2.1.15, tough-cookie@2.3.2, form-data@2.1.4, hawk@3.1.3, http-signature@1.1.1, har-validator@2.0.6)\n├── ms-rest-azure@1.15.7 (async@0.2.7, uuid@3.0.1, adal-node@0.1.22, ms-rest@1.15.7, moment@2.18.1)\n├── azure-arm-resource@1.6.1-preview (ms-rest@1.15.7)\n└── lodash@4.17.4\n```\n\n- Setup Azure\n\n```shell\nroot@c01c40041307:/home# azure login\ninfo:    Executing command login\n\\info:    To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code YTSGTS to authenticate.\ninfo:    Added subscription BizSpark\ninfo:    login command OK\nroot@c01c40041307:/home# azure ad sp create -n hello-world -p 'strongpassword'\ninfo:    Executing command ad sp create\n+ Creating application hello-world\n+ Creating service principal for application clientId\ndata:    Object Id:               {objectId}\ndata:    Display Name:            hello-world\ndata:    Service Principal Names:\ndata:                             clientId\ndata:                             http://hello-world\ninfo:    ad sp create command OK\nroot@c01c40041307:/home# azure role assignment create --objectId {objectId} -o Owner -c /subscriptions/{subscriptionId}\ninfo:    Executing command role assignment create\n+ Finding role with specified name\n/data:    RoleAssignmentId     : /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments/6acb6170-785b-42fa-8a4d-3dc4d739d362\ndata:    RoleDefinitionName   : Owner\ndata:    RoleDefinitionId     : {roleDefinitionId}\ndata:    Scope                : {subscriptionId}\ndata:    Display Name         : hello-world\ndata:    SignInName           : undefined\ndata:    ObjectId             : {objectId}\ndata:    ObjectType           : ServicePrincipal\ndata:\n+\ninfo:    role assignment create command OK\nroot@c01c40041307:/home# azure ad sp show -c hello-world --json\n[\n  {\n    \"objectId\": \"objectId\",\n    \"objectType\": \"ServicePrincipal\",\n    \"displayName\": \"hello-world\",\n    \"appId\": \"clientId\",\n    \"servicePrincipalNames\": [\n      \"http://hello-world\",\n      \"clientId\"\n    ]\n  }\n]\nroot@c01c40041307:/home# azure account show\ninfo:    Executing command account show\ndata:    Name                        : BizSpark\ndata:    ID                          : {subscriptionId}\ndata:    State                       : Enabled\ndata:    Tenant ID                   : {tenantId}\ndata:    Is Default                  : true\ndata:    Environment                 : AzureCloud\ndata:    Has Certificate             : No\ndata:    Has Access Token            : Yes\ndata:    User name                   : {email}\ndata:\ninfo:    account show command OK\n\nroot@c01c40041307:/home# azureSubId=subscriptionId azureServicePrincipalTenantId=tenantId azureservicePrincipalClientId=clientId azureServicePrincipalPassword=strongpassword serverless deploy\nServerless: Packaging service...\nServerless: Logging in to Azure\nServerless: Creating resource group: hello-serverless-rg\nServerless: Creating function app: hello-serverless\nServerless: Waiting for Kudu endpoint...\nServerless: Parsing Azure Functions Bindings.json...\nServerless: Building binding for function: hello event: httpTrigger\nServerless: Packaging function: hello\nServerless: Syncing Triggers....Response statuscode: 200\nServerless: Running Kudu command del package.json...\nServerless: Uploading pacakge.json ...\nServerless: Running Kudu command npm install --production...\nServerless: Successfully created Function App\nroot@c01c40041307:/home# azureSubId=subscriptionId azureServicePrincipalTenantId=tenantId azureservicePrincipalClientId=clientId azureServicePrincipalPassword=strongpassword serverless invoke -f hello\nServerless: Logging in to Azure\n\"Hello World\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupvarghese%2Fazure-serverless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanupvarghese%2Fazure-serverless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupvarghese%2Fazure-serverless/lists"}