{"id":16227479,"url":"https://github.com/simonaco/nodebinar","last_synced_at":"2025-03-19T13:31:10.513Z","repository":{"id":50065829,"uuid":"160201738","full_name":"simonaco/nodebinar","owner":"simonaco","description":"Serverless API endpoint running on Azure Functions ","archived":false,"fork":false,"pushed_at":"2021-06-05T05:02:24.000Z","size":22,"stargazers_count":14,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T19:31:05.166Z","etag":null,"topics":["azure","azure-devops","azure-functions","mongodb","serverless"],"latest_commit_sha":null,"homepage":"https://nodewebinar.azurewebsites.net/api/read-recipes","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/simonaco.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}},"created_at":"2018-12-03T14:14:20.000Z","updated_at":"2024-06-14T05:41:14.000Z","dependencies_parsed_at":"2022-09-22T07:35:12.585Z","dependency_job_id":null,"html_url":"https://github.com/simonaco/nodebinar","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/simonaco%2Fnodebinar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonaco%2Fnodebinar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonaco%2Fnodebinar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonaco%2Fnodebinar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonaco","download_url":"https://codeload.github.com/simonaco/nodebinar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989730,"owners_count":20379648,"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":["azure","azure-devops","azure-functions","mongodb","serverless"],"created_at":"2024-10-10T12:52:53.363Z","updated_at":"2025-03-19T13:31:10.229Z","avatar_url":"https://github.com/simonaco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodebinar  [![Build Status](https://dev.azure.com/sicotin/sicotin/_apis/build/status/simonaco.nodebinar)](https://dev.azure.com/sicotin/sicotin/_build/latest?definitionId=10) \n\nIf you want to learn more about getting started with serverless using VS Code and watch a demo of Azure API Management you can register [here](https://info.microsoft.com/ww-ondemand-build-serverless-api-with-nodejs.html) and you'll get a recorded version of the webinar.  \n\n## Deploy resources\n\n[![Deploy to Azure](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fsimonaco%2Fnodebinar%2Fmaster%2Fazuredeploy.json)\n\n## Prerequisites\n\n1. A recent version of Node (8+)\n\n1. VS Code: [here](https://code.visualstudio.com/download/?WT.mc_id=webinar-github-sicotin)  \n\n1. Azure Functions CLI: [here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?WT.mc_id=webinar-github-sicotin)  \n\n1. Azure Functions Extension for VS Code: [here](https://marketplace.visualstudio.com/items/?WT.mc_id=webinar-github-sicotin\u0026itemName=ms-azuretools.vscode-azurefunctions)  \n\n1. Azure account: [https://aka.ms/free](https://aka.ms/free)\n\n## Run locally\n\n1. Install all dependencies by running `npm i`\n\n1. In [VS Code](https://code.visualstudio.com/download/?WT.mc_id=webinar-github-sicotin), go to the [Azure Functions](https://marketplace.visualstudio.com/items/?WT.mc_id=webinar-github-sicotin\u0026itemName=ms-azuretools.vscode-azurefunctions) extension and click on `Create New Project...` icon. This will create a local.settings.json file for us and configure local debugging.  \n\n1. In `local.settings.json`, setup your environment variables for connecting to your database: \n\n```json\n{\n  \"IsEncrypted\": false,\n  \"Values\": {\n    \"AzureWebJobsStorage\": \"\",\n    \"FUNCTIONS_WORKER_RUNTIME\": \"node\",\n    \"user\": \"your-db-user\",\n    \"password\": \"your-db-password\",\n    \"port\": \"your-db-port\"\n  }\n}\n```\n\n1. In VS Code, go to the Debugging panel and run application by cliking on the `Start debugging` icon (small play button on the left hand side of the top bar)\n\n---\n\n\u003cspan class=\"emoji-outer emoji-sizer\"\u003e\u003cspan class=\"emoji-inner\" style=\"background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_32.png);background-position:16.039952996474735% 71.97414806110459%;background-size:5418.75% 5418.75%\" data-codepoints=\"1f389\"\u003e\u003c/span\u003e\u003c/span\u003e Congrats!! You made it - built your very first endpoint on Serverless! \u003cspan class=\"emoji-outer emoji-sizer\"\u003e\u003cspan class=\"emoji-inner\" style=\"background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_32.png);background-position:16.039952996474735% 71.97414806110459%;background-size:5418.75% 5418.75%\" data-codepoints=\"1f389\"\u003e\u003c/span\u003e\u003c/span\u003e\n\n---\nBonus: If interested to learn more about serverless make sure to checkout the free self guided courses on [Microsoft Learn Serverless Path](https://docs.microsoft.com/learn/browse/?roles=developer\u0026products=azure-functions\u0026WT.mc_id=webinar-github-sicotin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonaco%2Fnodebinar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonaco%2Fnodebinar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonaco%2Fnodebinar/lists"}