{"id":14987639,"url":"https://github.com/q1mi/bubble","last_synced_at":"2025-04-04T14:09:51.616Z","repository":{"id":37760976,"uuid":"219685701","full_name":"Q1mi/bubble","owner":"Q1mi","description":"a sample demo base on gin and gorm.","archived":false,"fork":false,"pushed_at":"2024-08-10T11:45:40.000Z","size":27307,"stargazers_count":430,"open_issues_count":3,"forks_count":176,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T14:09:43.193Z","etag":null,"topics":["gin","gorm"],"latest_commit_sha":null,"homepage":null,"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/Q1mi.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-11-05T07:42:00.000Z","updated_at":"2025-03-30T10:46:42.000Z","dependencies_parsed_at":"2023-01-31T10:15:40.290Z","dependency_job_id":"77268c74-d700-489d-bdca-56b21b8c737a","html_url":"https://github.com/Q1mi/bubble","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"f8009e7fa732448a99154325161e707e6d1e3f83"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q1mi%2Fbubble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q1mi%2Fbubble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q1mi%2Fbubble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Q1mi%2Fbubble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Q1mi","download_url":"https://codeload.github.com/Q1mi/bubble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190255,"owners_count":20898702,"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":["gin","gorm"],"created_at":"2024-09-24T14:15:05.733Z","updated_at":"2025-04-04T14:09:51.589Z","avatar_url":"https://github.com/Q1mi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bubble清单\n\n一个基于gin+gorm开发的练手小项目，通过该项目可初识go web开发该有的姿势。\n\n前端页面基于vue和ElementUI开发，对前端不熟悉的童鞋可直接下载`templates`和`static`文件夹下的内容使用。\n\n前端部分源码地址：[bubble_frontend](https://github.com/Q1mi/bubble_frontend)。\n\n## 使用指南\n### 下载\n```bash\ngit clone https://github.com/Q1mi/bubble.git\n```\n### 配置MySQL\n1. 在你的数据库中执行以下命令，创建本项目所用的数据库：\n```sql\nCREATE DATABASE bubble DEFAULT CHARSET=utf8mb4;\n```\n2. 在`bubble/conf/config.ini`文件中按如下提示配置数据库连接信息。\n\n```ini\nport = 9000\nrelease = false\n\n[mysql]\nuser = 你的数据库用户名\npassword = 你的数据库密码\nhost = 你的数据库host地址\nport = 你的数据库端口\ndb = bubble\n```\n\n### 编译\n```bash\ngo build\n```\n\n### 执行\n\nMac/Unix：\n```bash\n./bubble conf/config.ini\n```\nWindows:\n```bash\nbubble.exe conf/config.ini\n```\n\n启动之后，使用浏览器打开`http://127.0.0.1:9000/`即可。\n![example.png](example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq1mi%2Fbubble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fq1mi%2Fbubble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq1mi%2Fbubble/lists"}