{"id":24708100,"url":"https://github.com/pungrumpy/card-profile-go","last_synced_at":"2026-04-07T18:32:15.925Z","repository":{"id":163032399,"uuid":"637855734","full_name":"PunGrumpy/card-profile-go","owner":"PunGrumpy","description":"A web application built with Golang, React, TypeScript, and SCSS to display user profiles using styled-components","archived":false,"fork":false,"pushed_at":"2023-05-09T18:06:56.000Z","size":822,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T14:36:51.139Z","etag":null,"topics":["golang","react","scss","styled-components","typescript"],"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/PunGrumpy.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-05-08T14:53:19.000Z","updated_at":"2023-05-09T18:07:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"54d346bc-3e95-4570-9d73-0659f3b4a1ac","html_url":"https://github.com/PunGrumpy/card-profile-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PunGrumpy/card-profile-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Fcard-profile-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Fcard-profile-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Fcard-profile-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Fcard-profile-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PunGrumpy","download_url":"https://codeload.github.com/PunGrumpy/card-profile-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Fcard-profile-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31524525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","react","scss","styled-components","typescript"],"created_at":"2025-01-27T06:27:45.524Z","updated_at":"2026-04-07T18:32:15.892Z","avatar_url":"https://github.com/PunGrumpy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Name 📽️\n\nA web application built with Golang, React, TypeScript, and SCSS to display user profiles using styled-components and environment variables.\n\n## Technologies\n\n- Backend: Golang, Gorilla Mux, CORS\n- Frontend: React, TypeScript, SCSS, styled-components\n- Package manager: Yarn\n\n## Prerequisites\n\n- Golang (version 1.17 or later)\n- Node.js (version 14 or later)\n- Yarn (version 1.22 or later)\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/PunGrumpy/card-profile-go\ncd card-profile-go\n```\n\n2. Install dependencies:\n\n   - Frontend:\n\n   ```bash\n   yarn install\n   ```\n\n   - Backend:\n\n   ```bash\n   cd backend\n   go mod download\n   ```\n\n3. Run the application:\n\n   - Frontend:\n\n   ```bash\n   yarn start\n   ```\n\n   - Backend:\n\n   ```bash\n   cd backend\n   go run main.go\n   ```\n\nThe application will be available at `http://localhost:3000`. and the backend will be available at `http://localhost:8000`.\n\n# Configuration ⚙️\n\n## Backend\n\nCreate a `.env` file in the `backend` directory with the following content:\n\n```env\nPORT=8000\n```\n\nReplace `http://localhost:3000` with the actual origin you want to allow. Replace `8000` with the actual port you want to use.\n\n## Frontend\n\nCreate a `.env` file in the root directory with the following content:\n\n```env\nREACT_APP_API_URL=http://localhost:8000\n```\n\nReplace `http://localhost:8000` with the actual URL of the backend API.\n\n# Docker 🐳\n\n## Backend\n\n1. Build the image:\n\n```bash\ndocker compose up --build\n```\n\n2. Run the container:\n\n```bash\ndocker compose up -d\n```\n\n## Frontend\n\n1. Build the image:\n\n```bash\ndocker build -t card-profile-go .\n```\n\n2. Run the container:\n\n```bash\ndocker run -d -p 3000:3000 card-profile-go\n```\n\n# License 📜\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n# Acknowledgements 🙏\n\n- [Goriila Mux](https://pkg.go.dev/github.com/gorilla/mux)\n- [CORS](https://pkg.go.dev/github.com/rs/cors)\n- [GoDotEnv](https://pkg.go.dev/github.com/joho/godotenv)\n- [React](https://reactjs.org/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [SCSS](https://sass-lang.com/)\n- [styled-components](https://styled-components.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpungrumpy%2Fcard-profile-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpungrumpy%2Fcard-profile-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpungrumpy%2Fcard-profile-go/lists"}