{"id":29861327,"url":"https://github.com/juwenzhang/micro_fastify","last_synced_at":"2026-03-11T13:41:44.933Z","repository":{"id":305554958,"uuid":"1023021730","full_name":"juwenzhang/micro_fastify","owner":"juwenzhang","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-20T21:36:53.000Z","size":90,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-30T05:23:58.066Z","etag":null,"topics":["cluster","consul","docker-compose","fastify","microservice","monorepo","mysql","nodejs","pnpm","redis","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/juwenzhang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-20T11:07:39.000Z","updated_at":"2025-07-20T21:36:57.000Z","dependencies_parsed_at":"2025-07-20T20:32:45.602Z","dependency_job_id":null,"html_url":"https://github.com/juwenzhang/micro_fastify","commit_stats":null,"previous_names":["juwenzhang/micro_fastify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/juwenzhang/micro_fastify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwenzhang%2Fmicro_fastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwenzhang%2Fmicro_fastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwenzhang%2Fmicro_fastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwenzhang%2Fmicro_fastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juwenzhang","download_url":"https://codeload.github.com/juwenzhang/micro_fastify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juwenzhang%2Fmicro_fastify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cluster","consul","docker-compose","fastify","microservice","monorepo","mysql","nodejs","pnpm","redis","typescript"],"created_at":"2025-07-30T05:01:08.488Z","updated_at":"2026-03-11T13:41:44.915Z","avatar_url":"https://github.com/juwenzhang.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### English Document\n* docker-compose up -d\n* docker-compose build --no-cache\n```yaml\nversion: '3'\nservices:\n  mysql:\n    image: mysql:8.0\n    environment:\n      MYSQL_ROOT_PASSWORD: 451674jh\n      MYSQL_DATABASE: microservice_db\n    ports:\n      - \"3306:3306\"\n  redis:\n    image: redis:alpine\n    ports:\n      - \"6379:6379\"\n  consul:\n    image: consul:1.15\n    ports:\n      - \"8500:8500\"\n```\n\n### Consul 注册服务\n* access link: `http://localhost:8500/v1/agent/services`\n```text\n{\n    \"user-service\": {\n        \"ID\": \"user-service\",\n        \"Service\": \"user-service\",\n        \"Tags\": [],\n        \"Meta\": {},\n        \"Port\": 3001,\n        \"Address\": \"localhost\",\n        \"Weights\": {\n            \"Passing\": 1,\n            \"Warning\": 1\n        },\n        \"EnableTagOverride\": false,\n        \"Datacenter\": \"dc1\"\n    },\n    \"user-service1\": {\n        \"ID\": \"user-service1\",\n        \"Service\": \"user-service1\",\n        \"Tags\": [],\n        \"Meta\": {},\n        \"Port\": 3002,\n        \"Address\": \"localhost\",\n        \"Weights\": {\n            \"Passing\": 1,\n            \"Warning\": 1\n        },\n        \"EnableTagOverride\": false,\n        \"Datacenter\": \"dc1\"\n    }\n    ...more micro service detail info \n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwenzhang%2Fmicro_fastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuwenzhang%2Fmicro_fastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuwenzhang%2Fmicro_fastify/lists"}