{"id":16112656,"url":"https://github.com/ugurcanerdogan/springboottemplate","last_synced_at":"2026-04-10T07:51:24.359Z","repository":{"id":117657240,"uuid":"576912781","full_name":"ugurcanerdogan/SpringBootTemplate","owner":"ugurcanerdogan","description":"It is a draft structure prepared for Spring Boot projects with JWT and others. Check the Readme for details.","archived":false,"fork":false,"pushed_at":"2023-03-06T10:11:20.000Z","size":765,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T12:55:13.855Z","etag":null,"topics":["bcrypt","codeql","dataloader","dependabot","docker","docker-image","dockerfile","dto","emailvalidation","jwt","jwt-authentication","model","mysql","repo-service-controller","role-based-authorization","spring","spring-boot","spring-data","spring-security","springboot"],"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/ugurcanerdogan.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":"2022-12-11T11:56:50.000Z","updated_at":"2022-12-11T14:42:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f56acdcf-4d75-4615-9733-a438c75b7cf2","html_url":"https://github.com/ugurcanerdogan/SpringBootTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugurcanerdogan%2FSpringBootTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugurcanerdogan%2FSpringBootTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugurcanerdogan%2FSpringBootTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugurcanerdogan%2FSpringBootTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ugurcanerdogan","download_url":"https://codeload.github.com/ugurcanerdogan/SpringBootTemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247446606,"owners_count":20940145,"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":["bcrypt","codeql","dataloader","dependabot","docker","docker-image","dockerfile","dto","emailvalidation","jwt","jwt-authentication","model","mysql","repo-service-controller","role-based-authorization","spring","spring-boot","spring-data","spring-security","springboot"],"created_at":"2024-10-09T20:08:49.808Z","updated_at":"2026-04-10T07:51:19.225Z","avatar_url":"https://github.com/ugurcanerdogan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Project Template\n\n\u003cimg src=\"https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/img/1.png\" width=\"720\"/\u003e\n\n\u003cimg src=\"https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/img/2.png\" width=\"720\"/\u003e\n\n\n## Build Status\n_**WARNING!**\nGitHub Actions will fail for this draft repo. Because the project could not be deployed. The reason is that there is no valid DB connection in the [application.yml](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/src/main/resources/application.yaml)._\n\n`Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.\n`\n\n[![CodeQL](https://github.com/ugurcanerdogan/SpringBootTemplate/actions/workflows/codeql.yml/badge.svg)](https://github.com/ugurcanerdogan/SpringBootTemplate/actions/workflows/codeql.yml)\n\n[![Java CI with Maven](https://github.com/ugurcanerdogan/SpringBootTemplate/actions/workflows/maven.yml/badge.svg)](https://github.com/ugurcanerdogan/SpringBootTemplate/actions/workflows/maven.yml)\n\n### Motivation\nIt is a draft structure prepared for Spring Boot projects. Check the [readme](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/README.md) for details.\n\n## Solution\n\n\u003chr\u003e\n\n### Tech / Framework used\n\n- [Java 17](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/pom.xml#L17)\n\n`The application runs on Java 17. Dockerfile and GitHub Actions configurations are also set this way.`\n- [Spring Boot 3.0](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/pom.xml#L8)\n\n`It uses 3.0 which is one of the current Spring Boot versions. The User and Role model classes and the Repo - Service - Controller layers based on them are readily available.`\n- [JWT](https://github.com/ugurcanerdogan/SpringBootTemplate/tree/master/src/main/java/com/uqi/template/security)\n\n`In the project where the JWT infrastructure is ready, \"api/v1/auth/**\" paths are determined as permitAll(). Bearer token must be entered for other controller requests.`\n- [MySQL Connector](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/src/main/resources/application.yaml#L5)\n\n`The application.yml file of the project has been made ready for MySQL connection.`\n- [Dependabot \u0026 CodeQL \u0026 Dependabot (GitHub Actions)](https://github.com/ugurcanerdogan/SpringBootTemplate/tree/master/.github)\n\n`If the project is pushed to any GitHub repository, GitHub Actions workflows are automatically deployed.`\n- [Dockerfile](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/Dockerfile)\n\n`If the project is desired to be converted into an Docker image, the Dockerfile is also available for this.`\n\n### Other Utilities\n\n- [Global Exception Handling](https://github.com/ugurcanerdogan/SpringBootTemplate/tree/master/src/main/java/com/uqi/template/exception)\n\n`You can diversify the exception handlers that are already placed in the User and Role CRUDs according to your needs.`\n- [EmailValidator](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/src/main/java/com/uqi/template/config/EmailValidator.java)\n\n`Email validator is available for User registrations.`\n- [BCryptConfiguration](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/src/main/java/com/uqi/template/config/BCryptConfiguration.java)\n\n`User passwords are hashed before being saved to the database.`\n- [application.yml \u0026 banner.txt](https://github.com/ugurcanerdogan/SpringBootTemplate/tree/master/src/main/resources)\n\n`application.yml is organized to facilitate DB connections. With the help of the website in banner.txt under the /src/main/resources/ folder, you can change the banner that will appear when Spring Boot is run.`\n- [Code Formatter \u0026 Import Sorter PLUGINS](https://github.com/ugurcanerdogan/SpringBootTemplate/blob/master/pom.xml#L86)\n\n`From the Maven plugins, you can run Code Formatter \u0026 Import Sorter plugins.`\n\n\n\u003chr\u003e\n\n## Installation\n\n### How to use it?\n#### GitHub\nSteps\n\n1. Clone the repo https://github.com/ugurcanerdogan/SpringBootTemplate\n2. Change project name and all the import statements\n3. Add your own project needs (models, controllers, business logics etc.)\n3. Run it and voilà app up and running !\n\n### References\n\n- https://github.com/teddysmithdev/pokemon-review-springboot\n\n\u003chr\u003e\n\n### License\n\n+ [MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugurcanerdogan%2Fspringboottemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugurcanerdogan%2Fspringboottemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugurcanerdogan%2Fspringboottemplate/lists"}