{"id":21125278,"url":"https://github.com/wangyj641/miniblog","last_synced_at":"2025-10-27T19:36:58.460Z","repository":{"id":248476764,"uuid":"828568973","full_name":"wangyj641/miniblog","owner":"wangyj641","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-07T11:52:59.000Z","size":278,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T04:09:44.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangyj641.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-14T14:43:22.000Z","updated_at":"2024-08-07T11:53:02.000Z","dependencies_parsed_at":"2024-08-07T14:03:54.316Z","dependency_job_id":null,"html_url":"https://github.com/wangyj641/miniblog","commit_stats":null,"previous_names":["wangyj641/miniblog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wangyj641/miniblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyj641%2Fminiblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyj641%2Fminiblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyj641%2Fminiblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyj641%2Fminiblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangyj641","download_url":"https://codeload.github.com/wangyj641/miniblog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangyj641%2Fminiblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271083357,"owners_count":24696276,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-20T04:23:06.373Z","updated_at":"2025-10-27T19:36:58.359Z","avatar_url":"https://github.com/wangyj641.png","language":"Go","readme":"# miniblog \nA golang backend providing a simple blogging service\n\n### Key Skills:\n- gRPC： A high-performance, open-source universal RPC framework\n- protobuf： A cross-platform, open-source data serialization framework\n- viper： A simple, fast, and powerful configuration management library\n- jwt-go： A simple, fast, and powerful JWT library\n- gin： A high-performance, open-source web framework\n- gorm： A simple, fast, and powerful ORM library\n- cobra： A fast and easy-to-use command line interface library\n- MySQL： A fast, open-source, and easy-to-use database library\n  \n\n\n### Key features:\n- user management\n  - User registration and login\n  - get user info, update user info, delete user info, modify user password\n- blog management\n  - get all blogs, get blog by id, create blog, update blog, delete blog\n\n\n### Usage\n\n- Generate certificates\n```bash\n$ make ca\n```\n\n- Generate protobuf files\n```bash\n$ make protoc\n```\n\n- Build target\n```bash\n$ make\n```\n\n- Run server\n```bash\n$ _output/platforms/linux/amd64/miniblog -c configs/miniblog.yaml\n```\n\n- Test\n```bash\n$ ./scripts/test.sh\n```\n\n- Performance test\n```bash\n$ ./scripts/wrktest.sh http://localhost:8080/v1/users        \n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangyj641%2Fminiblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangyj641%2Fminiblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangyj641%2Fminiblog/lists"}