{"id":18647645,"url":"https://github.com/artcom/bootstrap-server","last_synced_at":"2025-08-17T22:12:51.400Z","repository":{"id":42317422,"uuid":"215243705","full_name":"artcom/bootstrap-server","owner":"artcom","description":"A HTTP server serving basic bootstrap data as JSON object.","archived":false,"fork":false,"pushed_at":"2024-06-16T14:57:10.000Z","size":147,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-27T12:21:46.129Z","etag":null,"topics":[],"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/artcom.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":"2019-10-15T08:13:06.000Z","updated_at":"2023-08-15T09:37:43.000Z","dependencies_parsed_at":"2024-11-07T06:28:43.921Z","dependency_job_id":"db56fcd7-e42b-4517-8a0f-6ee44497ce8f","html_url":"https://github.com/artcom/bootstrap-server","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/artcom%2Fbootstrap-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fbootstrap-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fbootstrap-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artcom%2Fbootstrap-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artcom","download_url":"https://codeload.github.com/artcom/bootstrap-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449646,"owners_count":19640555,"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-07T06:27:16.282Z","updated_at":"2025-02-18T10:22:24.429Z","avatar_url":"https://github.com/artcom.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bootstrap Server\n\nA HTTP server serving basic bootstrap data as JSON object. NodeJS services can process the bootstrap data with the [bootstrap client](https://github.com/artcom/bootstrap-client).\n\n## Local Usage\n\n```bash\nnpm install --global bunyan\nnpm install\n\nexport BACKEND_HOST=\u003cbackendHost\u003e\nexport HTTP_BROKER_URI=\u003chttpBrokerUri\u003e\nexport TCP_BROKER_URI=\u003ctcpBrokerUri\u003e\nexport WS_BROKER_URI=\u003cwsBrokerUri\u003e\nexport CONFIG_SERVER_URI=\u003cconfigServerUri\u003e\nexport TOUR_ADMINISTRATOR_API_URI=\u003ctourAdministratorApiUri\u003e\nexport STORAGE_SERVER_URI=\u003cstorageServerUri\u003e\nnpm start | bunyan\n```\n\nThe bootstrap data can now be queried at `http://localhost:3000/\u003cdevice\u003e`.\n\n## Bootstrap Data\n\nThe bootstrap data is structured as follows:\n\n```typescript\n{\n  backendHost: string,\n  httpBrokerUri: string,\n  tcpBrokerUri: string,\n  wsBrokerUri: string,\n  configServerUri: string,\n  tourAdministratorApiUri: string,\n  storageServerUri: string,\n  deviceTopic: string,\n  device: string\n}\n```\n\n**Note:** Properties which are not exported as environment variables are omitted from the bootstrap data.\n\n## Deployment\n\nThe service can be deployed with Dokku.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartcom%2Fbootstrap-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartcom%2Fbootstrap-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartcom%2Fbootstrap-server/lists"}