{"id":14973935,"url":"https://github.com/solov1113/golang-react-psql-docker","last_synced_at":"2025-02-26T08:22:18.629Z","repository":{"id":164615811,"uuid":"624992060","full_name":"solov1113/Golang-React-psql-docker","owner":"solov1113","description":"Go, React, Docker, Postgresql","archived":false,"fork":false,"pushed_at":"2023-04-07T19:30:21.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T22:09:43.959Z","etag":null,"topics":["docker","go","golang","pgsql","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/solov1113.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":"2023-04-07T19:25:39.000Z","updated_at":"2024-09-16T14:12:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"5595c254-b002-47e6-918c-9ce81fd82abc","html_url":"https://github.com/solov1113/Golang-React-psql-docker","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.03448275862068961,"last_synced_commit":"5eedfc1e1e249208198baaaa6fe897b8046d836f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solov1113%2FGolang-React-psql-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solov1113%2FGolang-React-psql-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solov1113%2FGolang-React-psql-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solov1113%2FGolang-React-psql-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solov1113","download_url":"https://codeload.github.com/solov1113/Golang-React-psql-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240815820,"owners_count":19862150,"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","go","golang","pgsql","react"],"created_at":"2024-09-24T13:49:42.277Z","updated_at":"2025-02-26T08:22:18.581Z","avatar_url":"https://github.com/solov1113.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang-React-psql-docker\nGolang-React-psql-docker (Golang, Docker, React, Postgres) project starter.\n\nDisclaimer: This project is not actively supported and not recommended for production apps. Hope it serves as a learning resource.\n\n## Features\n* Start a this project with one command on any computer with docker-compose installed\n* Dev mode features hot reloading on code changes for both the GoLang backend and React frontend (no need to rebuild containers while coding)\n* Production mode features optimized static React frontend and binary goLang backend\n* Production images built by passing a single arg option (images can then run on any computer with Docker)\n\n## Benefits\n* Anyone can contribute to your project locally without having to setup/install GOPATH, Postgres, node etc\n* Dev environment is the same as production environment\n* Quickly get your GoDoRP project off the ground\n* Forking the repo allows for customization of the template for your preferences\n\n## Getting started:\n* download [docker-compose](https://docs.docker.com/compose/install/) if not already installed\nThen run the following commands:\n\n```bash\n$ mkdir myApp\n$ cd myApp\n$ git clone https://github.com/bomber0325/Golang-React-psql-docker.git .\n$ docker-compose up\n```\nThen you can open the React frontend at localhost:3000 and the RESTful GoLang API at localhost:5000\n\nChanging any frontend (React) code locally will cause a hot-reload in the browser with updates and changing any backend (GoLang) code locally will also automatically update any changes.\n\nThen to build production images run:\n```bash\n$ docker build ./api --build-arg app_env=production \n$ docker build ./frontend --build-arg app_env=production\n$ docker build ./db\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolov1113%2Fgolang-react-psql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolov1113%2Fgolang-react-psql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolov1113%2Fgolang-react-psql-docker/lists"}