{"id":24665967,"url":"https://github.com/ischaojie/gtodo","last_synced_at":"2025-07-13T19:08:20.838Z","repository":{"id":40291832,"uuid":"213838735","full_name":"ischaojie/gtodo","owner":"ischaojie","description":"A todo restful api service base on go language（gin+vue）","archived":false,"fork":false,"pushed_at":"2023-05-05T02:21:37.000Z","size":467,"stargazers_count":29,"open_issues_count":1,"forks_count":7,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-28T19:11:30.946Z","etag":null,"topics":["gin","go","gorm","mini","restful-api","vue"],"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/ischaojie.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":"2019-10-09T06:30:35.000Z","updated_at":"2024-07-07T08:08:51.000Z","dependencies_parsed_at":"2022-08-09T16:35:39.862Z","dependency_job_id":null,"html_url":"https://github.com/ischaojie/gtodo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ischaojie/gtodo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ischaojie%2Fgtodo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ischaojie%2Fgtodo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ischaojie%2Fgtodo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ischaojie%2Fgtodo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ischaojie","download_url":"https://codeload.github.com/ischaojie/gtodo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ischaojie%2Fgtodo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265191240,"owners_count":23725283,"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","go","gorm","mini","restful-api","vue"],"created_at":"2025-01-26T07:14:14.330Z","updated_at":"2025-07-13T19:08:20.807Z","avatar_url":"https://github.com/ischaojie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# todos-go \nA todos restful-api service base on go language, use gin+gorm+vue.\n\nThis todos servie is for learning go web development, Use a front-end and back-end separation approach.\nfront-end use Vue and back-end use Gin. just for fun,  for learn.\n\n## show\n![screentshot](todogif.gif)\n\n## how to run\n```\n\u003e git clone https://github.com/shiniao/mini_todo.git\n\n# mysql create database:\n\u003e create database todo;\n\n# Then change the file config.yaml for your needs.\n\n# run server\n\u003e cd server\n\u003e go run main.go\n\n# run client\ncd client\nnpm install\nnpm run serve\n```\n\n## todos api\n\nYou can visit `.../swagger/index.html` for more detail.\n\nFirst, use todos api you need to get a token, Then take tokens with each visit:\n\n```shell script\nPOST /token get a token, need take `key:matata`\n```\n\nThat's all api:\n```\nGET    /v1/todos \nGET    /v1/todos/:id\nPOST   /v1/todos\nPUT    /v1/todos/:id\nDELETE /v1/todos/:id\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fischaojie%2Fgtodo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fischaojie%2Fgtodo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fischaojie%2Fgtodo/lists"}