{"id":22599553,"url":"https://github.com/alexcheng1982/happyride","last_synced_at":"2025-04-11T01:22:38.464Z","repository":{"id":39927185,"uuid":"247629278","full_name":"alexcheng1982/happyride","owner":"alexcheng1982","description":"Happy Ride","archived":false,"fork":false,"pushed_at":"2023-10-24T13:08:11.000Z","size":3404,"stargazers_count":107,"open_issues_count":19,"forks_count":54,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-24T22:34:39.833Z","etag":null,"topics":["java","microservice","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/alexcheng1982.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}},"created_at":"2020-03-16T06:39:39.000Z","updated_at":"2025-02-21T02:50:42.000Z","dependencies_parsed_at":"2023-02-15T08:16:14.130Z","dependency_job_id":null,"html_url":"https://github.com/alexcheng1982/happyride","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcheng1982%2Fhappyride","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcheng1982%2Fhappyride/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcheng1982%2Fhappyride/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexcheng1982%2Fhappyride/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexcheng1982","download_url":"https://codeload.github.com/alexcheng1982/happyride/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248323505,"owners_count":21084521,"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":["java","microservice","spring","spring-boot"],"created_at":"2024-12-08T11:10:02.425Z","updated_at":"2025-04-11T01:22:38.432Z","avatar_url":"https://github.com/alexcheng1982.png","language":"Java","readme":"# Happyride - 快乐出行\n\n![build status](https://github.com/alexcheng1982/happyride/workflows/maven/badge.svg)\n\nHappyride is a microservice application written using Spring Boot.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/R5R3FD1UD)\n---\n\n与云原生和微服务相关的内容，会更新在[我的B站](https://space.bilibili.com/1094957548)。\n\n除了B站之外，还可以关注：\n\n* 我的微博[@alexcheng1982](https://weibo.com/alexcheng1982)\n* 微信公众号『灵动代码』。\n* 个人网站[vividcode.cc](https://vividcode.cc)\n\n![公众号](gongzhonghao.jpg)\n\n# 更新日志\n\n* 2023-01-08 更新至 Spring Boot `3.0.1`\n* 2022-11-30 更新至 Spring Boot `3.0.0`\n* 2022-11-28 更新至 Spring Boot `2.7.6`\n* 2022-05-31 更新至 Spring Boot `2.7.0`\n* 2022-05-04 更新至 Spring Boot `2.6.7`\n* 2022-04-03 更新至 Spring Boot `2.6.6`\n* 2022-02-08 调整项目结构，版本设置为`2.0.0`\n* 2022-02-05 更新至 Spring Boot `2.6.3`\n* 2021-10-24 更新至 Spring Boot `2.5.6`\n* 2021-07-14 更新至 Spring Boot `2.5.2`，相关的依赖也进行了更新\n\n# 本地开发\n\n项目使用Maven构建，推荐使用IntelliJ IDEA开发。\n\n本地开发需要Docker Compose的支持，在`devops/dev`目录下有开发所需的Docker Compose文件。\n\n# 本地部署\n\n请参考`devops/k8s`目录下的文档来部署到Kubernetes。\n\n# 服务列表\n\n下表是应用的服务及其说明。\n\n| 服务名称             | Maven模块                     | API本地端口 |\n|------------------|-----------------------------|---------|\n| 乘客管理服务           | `passenger-service`         | `8500`  |\n| 行程管理服务           | `trip-service`              | `8501`  |\n| 地址管理服务           | `address-service`           | `8502`  |\n| 司机管理服务           | `driver-service`            | `8503`  |\n| 行程派发服务           | `dispatch-service`          | 无       |\n| 支付服务             | `payment-service`           | `8504`  |\n| 行程验证服务           | `payment-service`           | `8505`  |\n| 历史行程服务           | `trip-history-service`      | `8506`  |\n| 乘客管理界面的GraphQL服务 | `passenger-web-api-graphql` | `8610`  |\n\n在Minikube中访问服务，首先显示乘客API服务的URL：\n\n```sh\n$ minikube service --url passenger-api-graphql -n happyride\n```\n\n再访问GraphQL提供的GraphiQL的界面 `\u003curl\u003e/graphiql`.","funding_links":["https://ko-fi.com/R5R3FD1UD"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcheng1982%2Fhappyride","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexcheng1982%2Fhappyride","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexcheng1982%2Fhappyride/lists"}