{"id":17017983,"url":"https://github.com/vijethph/go-apps","last_synced_at":"2025-03-22T16:10:24.265Z","repository":{"id":207161540,"uuid":"669817515","full_name":"vijethph/go-apps","owner":"vijethph","description":"Collection of apps developed as part of learning Go Course","archived":false,"fork":false,"pushed_at":"2025-02-23T10:42:13.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T11:29:00.102Z","etag":null,"topics":["apps","go","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Go","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/vijethph.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-07-23T14:25:24.000Z","updated_at":"2025-02-23T10:42:14.000Z","dependencies_parsed_at":"2023-11-18T07:23:41.689Z","dependency_job_id":"3ec6582f-8d49-45d9-9012-d189f04ec7de","html_url":"https://github.com/vijethph/go-apps","commit_stats":null,"previous_names":["vijethph/go-apps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijethph%2Fgo-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijethph%2Fgo-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijethph%2Fgo-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vijethph%2Fgo-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vijethph","download_url":"https://codeload.github.com/vijethph/go-apps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982043,"owners_count":20542300,"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":["apps","go","tutorial"],"created_at":"2024-10-14T06:44:11.902Z","updated_at":"2025-03-22T16:10:24.241Z","avatar_url":"https://github.com/vijethph.png","language":"Go","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/vijethph/go-apps\"\u003e\n    \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/0/05/Go_Logo_Blue.svg\" width=\"100\" height=\"100\" \u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003eGo Apps\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Collection of things built following Go and Kubernetes tutorials\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/vijethph/go-apps/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/vijethph/go-apps/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#deploy-using-minikube\"\u003eDeploy using minikube\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#deploy-using-skaffold\"\u003eDeploy using Skaffold\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#teardown-for-locally-created-resources\"\u003eTeardown for locally created resources\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\nCollection of things built following Go and Kubernetes tutorials\n\n\n### Built With\n\n* [![Go][Go]][go-url]\n* [![Docker][Docker]][docker-url]\n* [![Kubernetes][Kubernetes]][kubernetes-url]\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nThe repository has multiple branches for `fibo-k8s` app based on deployment methods. Instructions for deployments are mentioned in respective branches.\n\n- `main` branch contains files that can be run using Docker Compose (`docker-compose up`)\n- `minikube-skaffold` branch contains files that can be run using minikube or Skaffold\n- `eks-aks` branch contains files that can be deployed to AWS Elastic Kubernetes Service (EKS) or Azure Kubernetes Service (AKS)\n- `gke-with-nginx` branch contains files that can be deployed to Google Kubernetes Engine (GKE) using GitHub Actions\n\n### Deploy using minikube\n\n1. Install kubectl and minikube. Then run these commands in order:\n  ```bash\n  minikube start\n\n  minikube addons enable ingress\n\n  kubectl cluster-info\n  ```\n2. Now, switch to minikube's docker daemon, as minikube runs in VM, and cannot use local images on its own. So, all docker images need to be built within minikube's docker daemon. Then, deploy the kubernetes cluster\n  ```bash\n  eval $(minikube docker-env)\n\n  # docker build all images after above command\n\n  kubectl create secret generic pgpassword --from-literal PG_PASSWORD=Test@123\n\n  kubectl apply -f fibo-k8s\n\n  kubectl get pods --watch\n\n  minikube ip\n  ```\n3. Open the IP address provided by minikube in a browser to access the application. \n\n### Deploy using Skaffold\n\n1. Follow the steps 1 and 2 from minikube deployment with certain changes:\n  ```bash\n  # instead of \"kubectl apply -f k8s\", run the following command\n  \n  skaffold dev # or skaffold run\n\n  minikube ip\n  ```\n2. Open the IP address provided by minikube in a browser to access the application. \n\n### Teardown for locally created resources\n```bash\nkubectl delete -f fibo-k8s\n\nskaffold delete\n\nminikube stop\n\nminikube delete --all\n\n# switch back to normal docker daemon\neval $(minikube docker-env -u)\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nVijeth P H - [@vijethph](https://github.com/vijethph)\n\nProject Link: [https://github.com/vijethph/go-apps](https://github.com/vijethph/go-apps)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n## Acknowledgments\n\n* [Official Go Documentation](https://go.dev/doc/)\n* [Go Playground](https://go.dev/play/)\n* [Go Standard Library Packages](https://pkg.go.dev/std)\n* [Go By Example Tutorials](https://gobyexample.com/)\n* [Go: The Complete Developer's Guide (Golang) by Stephen Grider](https://www.udemy.com/course/go-the-complete-developers-guide/)\n* [Best-README-Template](https://github.com/othneildrew/Best-README-Template)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[contributors-shield]: https://img.shields.io/github/contributors/vijethph/go-apps.svg?style=flat-square\n[contributors-url]: https://github.com/vijethph/go-apps/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/vijethph/go-apps.svg?style=flat-square\n[forks-url]: https://github.com/vijethph/go-apps/network/members\n[stars-shield]: https://img.shields.io/github/stars/vijethph/go-apps.svg?style=flat-square\n[stars-url]: https://github.com/vijethph/go-apps/stargazers\n[issues-shield]: https://img.shields.io/github/issues/vijethph/go-apps.svg?style=flat-square\n[issues-url]: https://github.com/vijethph/go-apps/issues\n[Go]: https://img.shields.io/badge/Go-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\n[go-url]: https://go.dev/doc/\n[Docker]: https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white\n[docker-url]: https://docs.docker.com/\n[Kubernetes]: https://img.shields.io/badge/kubernetes-326ce5.svg?\u0026style=for-the-badge\u0026logo=kubernetes\u0026logoColor=white\n[kubernetes-url]: https://kubernetes.io/docs/home/","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijethph%2Fgo-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvijethph%2Fgo-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvijethph%2Fgo-apps/lists"}