{"id":26214419,"url":"https://github.com/ljunb/springboot-blog","last_synced_at":"2026-04-20T08:31:28.594Z","repository":{"id":92176845,"uuid":"166145379","full_name":"ljunb/springboot-blog","owner":"ljunb","description":"基于 SpringBoot + Mybatis + MySQL 实现个人博客的 RESTful 服务，并使用 Swagger2 实现接口文档。","archived":false,"fork":false,"pushed_at":"2019-02-26T08:41:54.000Z","size":120,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T19:54:54.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/ljunb.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-01-17T02:21:52.000Z","updated_at":"2019-02-26T08:41:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9fdd3a1-d8ef-4641-83c6-ea4afdbda481","html_url":"https://github.com/ljunb/springboot-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ljunb/springboot-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljunb%2Fspringboot-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljunb%2Fspringboot-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljunb%2Fspringboot-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljunb%2Fspringboot-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ljunb","download_url":"https://codeload.github.com/ljunb/springboot-blog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ljunb%2Fspringboot-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32039922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":"2025-03-12T10:16:57.105Z","updated_at":"2026-04-20T08:31:28.287Z","avatar_url":"https://github.com/ljunb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## springboot-blog\n\n基于 SpringBoot + Mybatis + MySQL 实现个人博客的 RESTful 服务，并使用 Swagger2 实现接口文档。\n\n## 已有功能\n* 作者：针对作者信息的增删改查、某作者的所有博客、某作者的所有评论\n* 文章：针对文章信息的增删改查\n* 评论：发表评论、回复评论\n\n## 开始\n\n作者信息表：\n```mysql\nDROP TABLE IF EXISTS author;\n\nCREATE TABLE `author` (\n  `author_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '作者id',\n  `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '姓名',\n  `sex` int(1) DEFAULT NULL COMMENT '性别',\n  `birthday` date DEFAULT NULL COMMENT '生日',\n  `address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '住址',\n  `avatar` varchar(255) DEFAULT NULL COMMENT '头像',\n  PRIMARY KEY (`author_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;\n```\n\n文章信息表：\n```mysql\nDROP TABLE IF EXISTS article;\n\nCREATE TABLE `article` (\n  `article_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n  `title` varchar(100) DEFAULT NULL COMMENT '文章标题',\n  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '文章简介',\n  `publish_time` date DEFAULT NULL COMMENT '发布时间',\n  `last_modify_time` date DEFAULT NULL COMMENT '最后修改时间',\n  `author_id` bigint(20) unsigned DEFAULT NULL COMMENT '作者id',\n  `author` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '作者姓名',\n  `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文章内容',\n  `source` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '文章来源',\n  PRIMARY KEY (`article_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;\n```\n\n文章评论表：\n```mysql\nDROP TABLE IF EXISTS comment;\n\nCREATE TABLE `comment` (\n  `comment_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '评论id',\n  `content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '评论内容',\n  `publish_time` date DEFAULT NULL COMMENT '评论发布时间',\n  `like_count` bigint(20) unsigned DEFAULT '0' COMMENT '点赞数',\n  `article_id` bigint(20) unsigned DEFAULT NULL COMMENT '文章id',\n  `commenter` varchar(50) DEFAULT NULL COMMENT '评论人姓名',\n  `commenter_id` bigint(20) unsigned DEFAULT NULL COMMENT '评论人id',\n  `be_reply_comment_id` bigint(20) unsigned DEFAULT NULL COMMENT '被回复的评论人id',\n  `be_reply_commenter` varchar(50) DEFAULT NULL COMMENT '被回复的评论人姓名',\n  PRIMARY KEY (`comment_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;\n```\n\n## 接口说明\n启动应用后，访问 http://localhost:8080/swagger-ui.html 即可。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljunb%2Fspringboot-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fljunb%2Fspringboot-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fljunb%2Fspringboot-blog/lists"}