{"id":28965380,"url":"https://github.com/x00real/go-n-reactjs","last_synced_at":"2025-06-24T06:11:16.262Z","repository":{"id":166714598,"uuid":"325439481","full_name":"x00real/go-n-reactjs","owner":"x00real","description":"This is a sample project help you combine go (Echo) and ReactJS","archived":false,"fork":false,"pushed_at":"2020-12-30T06:25:01.000Z","size":400,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T06:34:45.741Z","etag":null,"topics":["docker","echo","echo-framework","golang","reactjs"],"latest_commit_sha":null,"homepage":"https://go-and-react.herokuapp.com","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/x00real.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":"2020-12-30T02:56:07.000Z","updated_at":"2021-10-30T15:52:08.000Z","dependencies_parsed_at":"2023-07-28T15:30:22.195Z","dependency_job_id":null,"html_url":"https://github.com/x00real/go-n-reactjs","commit_stats":null,"previous_names":["vietanhduong/go-n-reactjs","x00real/go-n-reactjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/x00real/go-n-reactjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x00real%2Fgo-n-reactjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x00real%2Fgo-n-reactjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x00real%2Fgo-n-reactjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x00real%2Fgo-n-reactjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x00real","download_url":"https://codeload.github.com/x00real/go-n-reactjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x00real%2Fgo-n-reactjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261618141,"owners_count":23185098,"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":["docker","echo","echo-framework","golang","reactjs"],"created_at":"2025-06-24T06:11:14.512Z","updated_at":"2025-06-24T06:11:16.245Z","avatar_url":"https://github.com/x00real.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Combine Golang (echo) and ReactJS into single docker container\nThis is project will show you how to combine ReactJS and Golang into single container.\n\n## Usage\nIn the project I set default port is `8080`. You can change it by set `$PORT` in your environment.\n### Prerequisite\n* **With docker:** You need installed `docker` *(if you are run it with docker)* and `docker-compose` *(if you run it with docker-compose)*. I placed links tutorial in here ([docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04) and [docker-compose](https://docs.docker.com/compose/install/)) \n* **Without docker:** You need install `go (\u003e=1.14)`, `nodejs (\u003e= 12)` and `yarn`.  \n### With `docker`\n```shell\ndocker build -t \u003cyou_choose_image_name\u003e:\u003ctag\u003e .\ndocker run -d -p 8080:8080 \u003cyou_choose_image_name\u003e:\u003ctag\u003e \n```\n\n### With `docker-compose`\n```shell\ndocker-compose up --build\n```\n\n### Without `docker`\n```shell\n# You need to build `frontend` first\ncd ./frontend\nyarn build\n# After this phase you will see a build folder inside current folder\ncd ..\ngo mod download\ngo build -o app . \u0026\u0026 ./app\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx00real%2Fgo-n-reactjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx00real%2Fgo-n-reactjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx00real%2Fgo-n-reactjs/lists"}