{"id":22401870,"url":"https://github.com/lewiswatson/carshare-kubernetes","last_synced_at":"2026-07-10T00:31:13.114Z","repository":{"id":83481828,"uuid":"89321055","full_name":"LewisWatson/carshare-kubernetes","owner":"LewisWatson","description":"Deploy carshare.ninja in minikube","archived":false,"fork":false,"pushed_at":"2017-05-03T17:36:51.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T17:48:27.239Z","etag":null,"topics":["helm-charts","kubernetes","minikube"],"latest_commit_sha":null,"homepage":"https://carshare.ninja","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LewisWatson.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":"2017-04-25T05:31:44.000Z","updated_at":"2017-04-30T14:25:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff123923-ac46-4791-bd58-beda1f5a7c3c","html_url":"https://github.com/LewisWatson/carshare-kubernetes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LewisWatson/carshare-kubernetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcarshare-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcarshare-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcarshare-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcarshare-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LewisWatson","download_url":"https://codeload.github.com/LewisWatson/carshare-kubernetes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcarshare-kubernetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35316840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["helm-charts","kubernetes","minikube"],"created_at":"2024-12-05T09:09:14.242Z","updated_at":"2026-07-10T00:31:13.108Z","avatar_url":"https://github.com/LewisWatson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# carshare-kubernetes\n\n## Prerequisites\n\n* [minikube] v0.14.0+\n* [Kubernetes Helm][helm]\n\n## Start [minikube]\n\n```bash\nminikube start\n```\n\n## Deploy [Mongo Data Store][mongo]\n\n[carshare-api] uses [mongo] for data persistence.\n\n```bash\nkubectl create -f mongo-rc.yaml\nkubectl create -f mongo-service.yaml\n```\n\n## Deploy [Carshare API][carshare-api]\n\n```bash\nkubectl create -f carshare-api-rc.yaml\nkubectl create -f carshare-api-service.yaml\n```\n\n## Deploy [Carshare Web][carshare-web]\n\n```bash\nkubectl create -f carshare-web-rc.yaml\nkubectl create -f carshare-web-service.yaml\n```\n\n## Configure Ingress\n\nIngress is not enabled by default in [minikube].\n\n```bash\nminikube addons enable ingress\n```\n\nInitialise [helm] on the cluster\n\n```bash\nhelm init\n```\n\nDeploy the [NGINX Ingress Helm Chart][nginx-ingress].\n\n```bash\nhelm install --name my-release stable/nginx-ingress\n```\n\nCreate Ingress\n\n```bash\nkubectl create -f ingress.yaml\n```\n\n## Test\n\nYou can test the system by adding `carshare.test` to your `/ets/hosts` file.\n\n```bash\necho \"$(minikube ip) carshare.test\" | sudo tee -a /etc/hosts\n```\n\nYou should be able to access [carshare-web] by navigating to [carshare.test](http://carshare.test) in a browser.\n\n![carshare-web screenshot](/docs/img/carshare-web.png)\n\nYou should also be able to make a `GET` request on [carshare-api].\n\n```bash\n$ curl http://carshare.test/api/v0/carShares\n{\"errors\":[{\"status\":\"403\",\"title\":\"Forbidden\"}]}\n```\n\n It should respond with an error 404 forbidden as you will not be authenticated.\n\n\n[minikube]: https://github.com/kubernetes/minikube\n[helm]: https://github.com/kubernetes/helm\n[nginx-ingress]: https://github.com/kubernetes/charts/tree/master/stable/nginx-ingress\n[carshare-web]: https://github.com/LewisWatson/carshare-web\n[carshare-api]: https://github.com/LewisWatson/carshare-back\n[mongo]: https://hub.docker.com/_/mongo/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiswatson%2Fcarshare-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewiswatson%2Fcarshare-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiswatson%2Fcarshare-kubernetes/lists"}