{"id":19011603,"url":"https://github.com/graphql-editor/stucco-router-azure-worker","last_synced_at":"2025-08-01T05:41:49.983Z","repository":{"id":57516397,"uuid":"244630991","full_name":"graphql-editor/stucco-router-azure-worker","owner":"graphql-editor","description":"Stucco router running on Azure Functions","archived":false,"fork":false,"pushed_at":"2020-04-02T09:00:58.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-01T21:46:32.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/graphql-editor.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}},"created_at":"2020-03-03T12:31:39.000Z","updated_at":"2020-03-24T18:54:03.000Z","dependencies_parsed_at":"2022-08-30T01:41:33.795Z","dependency_job_id":null,"html_url":"https://github.com/graphql-editor/stucco-router-azure-worker","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fstucco-router-azure-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fstucco-router-azure-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fstucco-router-azure-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fstucco-router-azure-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-editor","download_url":"https://codeload.github.com/graphql-editor/stucco-router-azure-worker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240042842,"owners_count":19738963,"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-08T19:14:58.499Z","updated_at":"2025-02-21T15:45:27.321Z","avatar_url":"https://github.com/graphql-editor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nStucco router that can be run by Azure Functions host.\n\n# Usage\n\n## Run locally\n\nCurrently router can only be ran locally on Linux and macOS because it depends on [azure-functions-golang-worker](https://github.com/graphql-editor/azure-functions-golang-worker/) which does not support running plugin functions on Windows.\n\n### Dependencies\n* [azure-functions-core-tools@v3](https://github.com/Azure/azure-functions-core-tools)\n* [azure-functions-golang-worker](https://github.com/graphql-editor/azure-functions-golang-worker/)\n\n### Run\n\n```\n$ STUCCO_SCHEMA=path/to/schema.graphql STUCCO_CONFIG=path/to/stucco.json STUCCO_WORKER_BASE_URL=http://worker.url func start\n```\n\n## Docker\n\n### New image\n\nTo create new router image just add schema.graphql and stucco.json to base image\n\n```\nFROM gqleditor/stucco-router-azure-worker:latest\n\nCOPY schema.graphql /home/site/wwwroot/schema.graphql\nCOPY stucco.json /home/site/wwwroot/stucco.json\n```\n\n### Run using base image\n\n```\n$ docker run -p 8080:80 -e STUCCO_SCHEMA=path/to/schema.graphql -e STUCCO_CONFIG=path/to/stucco.json -e STUCCO_WORKER_BASE_URL=http://worker.url gqleditor/stucco-router-azure-worker:latest\n```\n\n# Notes\n\nBy default function.json has `function` auth level which makes them inaccessible locally. Edit `authLevel` field in graphql/function.json to make it debuggable locally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fstucco-router-azure-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-editor%2Fstucco-router-azure-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fstucco-router-azure-worker/lists"}