{"id":15974960,"url":"https://github.com/develar/werf-spa-go-example","last_synced_at":"2025-04-05T10:23:32.974Z","repository":{"id":66050634,"uuid":"392017136","full_name":"develar/werf-spa-go-example","owner":"develar","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-03T09:35:06.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T21:15:09.904Z","etag":null,"topics":["werf"],"latest_commit_sha":null,"homepage":"","language":"Go","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/develar.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":"2021-08-02T16:19:11.000Z","updated_at":"2023-03-15T06:42:15.000Z","dependencies_parsed_at":"2023-03-12T22:00:30.189Z","dependency_job_id":null,"html_url":"https://github.com/develar/werf-spa-go-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develar%2Fwerf-spa-go-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develar%2Fwerf-spa-go-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develar%2Fwerf-spa-go-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develar%2Fwerf-spa-go-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/develar","download_url":"https://codeload.github.com/develar/werf-spa-go-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247320400,"owners_count":20919770,"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":["werf"],"created_at":"2024-10-07T22:00:49.870Z","updated_at":"2025-04-05T10:23:32.931Z","avatar_url":"https://github.com/develar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example of using [Werf](https://werf.io) to deploy backend in Go and front-end SPA.\n\nWhat's make Werf different from [DevSpace](https://devspace.sh)? [Stapel](https://werf.io/documentation/v1.2/internals/build_process.html#building-a-stage-of-the-stapel-image-and-stapel-artifact). \n\n\u003e The distinctive feature of werf is that it uses the git repository (instead of the project directory) as a source of files for the build context\n\n## Local Cluster\n\n```shell\n# prefix `k3d-` will be automatically added to registry name, \n# don't forget to add `127.0.0.1 k3d-registry.localhost` to /etc/hosts\nk3d registry create registry.localhost --port 5000\nk3d cluster create local --registry-use k3d-registry.localhost:5000 --port \"8080:80@loadbalancer\"\nkubectl config use-context k3d-local\n```\n\nPlease note — only k3d 5.x is able to edit port configuration on the fly, 4.x requires cluster recreation.\n\n## Developer Environment\n\nExport envs for local development. Don't forget to change `werf-spa-go-example-dev` to your app name.\n\n```shell\nexport WERF_REPO=k3d-registry.localhost:5000/werf-spa-go-example-dev\nexport WERF_INSECURE_REGISTRY=1\nexport WERF_ENV=dev\n```\n\nSee [Environment](https://werf.io/documentation/v1.2/advanced/helm/configuration/templates.html#environment) docs about `WERF_ENV=dev`.\n\n# Deployment\n\nAfter `werf converge --dev`, `http://localhost:8080/` will be available on a host machine.\nSee [werf converge](https://werf.io/documentation/v1.2/reference/cli/werf_converge.html).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelar%2Fwerf-spa-go-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelar%2Fwerf-spa-go-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelar%2Fwerf-spa-go-example/lists"}