{"id":24546814,"url":"https://github.com/yigger/jz-back","last_synced_at":"2025-04-15T16:43:18.736Z","repository":{"id":97965414,"uuid":"184844008","full_name":"yigger/JZ-back","owner":"yigger","description":"基于 Echo 框架实现的洁账小程序服务端","archived":false,"fork":false,"pushed_at":"2019-08-31T14:16:59.000Z","size":9203,"stargazers_count":17,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T22:35:20.079Z","etag":null,"topics":["api","echo","golang","web"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yigger.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}},"created_at":"2019-05-04T02:36:06.000Z","updated_at":"2024-02-07T02:17:43.000Z","dependencies_parsed_at":"2023-03-30T20:17:15.212Z","dependency_job_id":null,"html_url":"https://github.com/yigger/JZ-back","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/yigger%2FJZ-back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigger%2FJZ-back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigger%2FJZ-back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yigger%2FJZ-back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yigger","download_url":"https://codeload.github.com/yigger/JZ-back/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110668,"owners_count":21214376,"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":["api","echo","golang","web"],"created_at":"2025-01-22T22:17:25.555Z","updated_at":"2025-04-15T16:43:18.717Z","avatar_url":"https://github.com/yigger.png","language":"Go","readme":"## 简介\n此仓库是 **洁账** 的 go 服务端，是基于 [Echo](https://github.com/labstack/echo) 框架开发的，由于本人也是第一次接触 go 语言，所以如果各位看官觉得代码写得不好或者有待优化的地方欢迎提 PR 指导指导。\n\n## 小程序端地址\nhttps://github.com/yigger/jiezhang\n\n## 温馨提示：本项目处于开发中状态，暂不可同时配合小程序端使用。\n\n#### 目录\n- [环境配置](#环境配置)\n- [运行](#运行)\n- [目录结构](#目录结构)\n- [热加载](#热加载)\n\n## 环境配置\n```\n1. 源码下载\ngo get github.com/yigger/JZ-back\n\n2. Mysql 配置文件\ncp conf/conf.d/database.json.example database.json\n编辑 database.json，填写你本地环境的参数\n\n3. Database 迁移\ngo run migrate/run.go\n\n3. Redis 配置文件\ncp conf/conf.d/redis.json.example redis.json\n\n4. 常规配置文件\ncp conf/conf.d/jz.json.example jz.json\n自行准备好 app_id 和 app_secret，此参数请登录微信小程序进行获取\n\n```\n\n## 运行\n```\ngo run main.go\n\n然后打开小程序开发工具，查看 network，检查接口连接情况\n```\n\n## 目录结构\n```sh\nconf            配置项\ncontroller      控制器层（C）\nlog             日子类\nmiddleware      中间件\nmodel           模型（M）\nservice         服务层（业务逻辑封装）\npublic          静态资源\ntests           测试类\nutils           工具类\n```\n\n## 热加载\nhttps://github.com/cosmtrek/air\n\n## 联系\nyigger#163.com","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyigger%2Fjz-back","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyigger%2Fjz-back","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyigger%2Fjz-back/lists"}