{"id":20968118,"url":"https://github.com/mojocn/springboot2app","last_synced_at":"2025-07-18T00:07:56.746Z","repository":{"id":128486824,"uuid":"218919664","full_name":"mojocn/springboot2app","owner":"mojocn","description":"Springboot2 JPA JWT RESTful APIs  boilerplate","archived":false,"fork":false,"pushed_at":"2019-11-04T10:59:33.000Z","size":42,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T09:44:17.403Z","etag":null,"topics":["boilerplate-template","jpa-hibernate","jwt","restful-api","springboot2"],"latest_commit_sha":null,"homepage":"https://mojotv.cn/misc/springboot2-experience","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/mojocn.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}},"created_at":"2019-11-01T05:34:37.000Z","updated_at":"2023-07-06T07:49:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1589e16-8dc4-4ebe-83a9-1af9b33b48dc","html_url":"https://github.com/mojocn/springboot2app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mojocn/springboot2app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojocn%2Fspringboot2app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojocn%2Fspringboot2app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojocn%2Fspringboot2app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojocn%2Fspringboot2app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojocn","download_url":"https://codeload.github.com/mojocn/springboot2app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojocn%2Fspringboot2app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265683367,"owners_count":23810837,"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":["boilerplate-template","jpa-hibernate","jwt","restful-api","springboot2"],"created_at":"2024-11-19T03:05:38.329Z","updated_at":"2025-07-18T00:07:56.737Z","avatar_url":"https://github.com/mojocn.png","language":"Java","readme":"# SpringBoot2 JPA Security JWT RESTful APIs Application\n\n## 1. 架构\n### 1.1 依赖\n- springboot 2.16\n- springboot JPA\n- springBoot Security\n- spirnbBoot MongoDB\n\n### 1.2 数据库\n\n- MySQL(没有使用JSON字段特性) (springboo2app 会自动更具entity 自动创建数据库)\n- MongoDB(引入但是未使用到业务逻辑)\n\n### 1.3 功能(初学者可以借鉴的)\n\n1. API 级别的权限控制\n2. JPA 分页接口封装\n3. JPA count 字段(sql: left join group count) 获取\n4. 获取自定义@Menu注解做权限控制\n5. JPA repository @Query 写SQL语句\n6. SpringBoot2 登陆及JWT认证\n\n## 2.个人编程习惯和风格\n1. 不喜欢太深的代码目录结构(2~3层目录结构最佳),当然有更好的目录结构,我也是乐意采纳的\n2. 喜欢代码简洁命令,不喜欢过多的设计模式和过多的约定规则(不是很喜欢 interface-\u003eimpl 这种结构,90%的项目都是小项目)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojocn%2Fspringboot2app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojocn%2Fspringboot2app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojocn%2Fspringboot2app/lists"}