|
1 | 1 | # Spring Boot Projects - Full Stack
|
2 |
| - Total projects provide Source Codes/Guides/App, indeed down below represents. We take an opinionated view of the Spring platform and several-party libraries so you can get started with as Spring Boot. |
3 |
| - |
4 |
| -# |
5 |
| -## Configuration table |
6 |
| - |
7 |
| - | Components | Technology | |
8 |
| - | :--- | :----: | |
9 |
| - | Frontend | BootStrap, Jsp/ React 16+ | |
10 |
| - | Backend | Spring Boot 2.1+, Java 8/Java 11+ | |
11 |
| - | Security | Spring Security, SSL, Form, https, JWT| |
12 |
| - | Database | JPA-Hibernate, H2, MySQL, Oracle, MangoDB, Postgresql| |
13 |
| - | API Documentation | Swagger API + (Hub)| |
14 |
| - | Client Build | npm, yarn, webpack| |
15 |
| - | Server Build| Maven / Gradle| |
16 |
| - | API testing| POSTMAN / insomnia| |
17 |
| - | Tool | Intellj Idea/VSC| |
18 |
| - |
19 |
| - |
20 |
| - |
21 |
| - |
22 |
| -# Part-1: Spring Boot Basics and Fundamentals with Projects |
23 |
| - (Attention: When You click RESOURE OR CODE, indeed, Detail explanations are inside the sources!) |
24 |
| - |
25 |
| - * ### [ (resource](https://dev.to/hamdamboy/spring-boot-basics-and-fundamentals-with-projects-5967) / [ code) ]( https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-1%20Spring%20Boot%20Basic%20Fund%20Projects/SpringBootSourceCode) Getting Started with Spring Boot |
26 |
| - |
27 |
| - * Installing Spring Boot + Maven (pom.xml) : (code) SpringBootFamilyMember |
28 |
| - * Spring Boot + Gradle : (code) Spring Gradle |
29 |
| - * Spring Boot 2 Hello World Application "Welcome-Back Again" : (code) SpringBootHelloWorld |
30 |
| - * Important Spring Boot Standalone : (code) SpringStandalone |
31 |
| - * Migrating from Spring to Spring Boot : (code) SpringDownloadFiles |
32 |
| - |
33 |
| -* ### [ (resource](https://dev.to/hamdamboy/spring-boot-basics-and-fundamentals-with-projects-5967) / [ code) ]( https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-1%20Spring%20Boot%20Basic%20Fund%20Projects/SpringBootSources ) RESTfull API: Spring REST Template-Spring REST Client Methods |
34 |
| - |
35 |
| - * Spring REST Client Methods (GET, POST, PUT and DELETE) : (code) SpringRestAPI |
36 |
| - * Spring Boot How to Change Port and Context Path : (code) SpringEmailProcess |
37 |
| - * Spring Boot2 Deploy WAR file to External Tomcat : (code) SpringWebJar |
38 |
| - * Bonus: Additional source codes |
39 |
| - |
40 |
| -# |
41 |
| - |
42 |
| -# Part-2: Spring Boot Configuration |
43 |
| - * ### [(resource](https://dev.to/hamdamboy/twitter-sms-services-spring-boot-possible-xml-configuration-2p9m)/[ code)]( https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-2%20Spring%20Boot%20Configuration ) Configuration in Practical way |
44 |
| - |
45 |
| - * Spring Boot 2 + Java Based Configuration |
46 |
| - * Spring Boot 2 + XML Configuration |
47 |
| - * Migrating from Spring to Spring Boot |
48 |
| -# |
49 |
| -# Part-3: Spring Boot Annotations |
50 |
| - |
51 |
| - * ### ([resource](https://dev.to/hamdamboy/cognitive-control-annotations-in-spring-boot-23io) / [ code ]( https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-3%20Spring%20Boot%20Annotations)) Practical Experience with Annotation |
52 |
| - |
53 |
| - * Spring Boot Annotations Definiation and Practics |
54 |
| - * Spring Boot @EnableAutoConfiguration Annotation with Example |
55 |
| - * Spring Boot @SpringBootApplication Annotation with Example |
56 |
| - * Spring Boot - Creating Asynchronous Methods using @Async Annotation |
57 |
| - |
58 |
| -# |
59 |
| -# Part-4: Spring Boot + REST API |
60 |
| - * ### ([resource](https://dev.to/hamdamboy/truly-there-is-no-difference-in-implementation-integrating-spring-with-jersey-and-integrating-jersey-with-spring-m2k)/ [ code ](https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-4%20Spring%20Boot%20REST%20API)) Database interconnections |
61 |
| - |
62 |
| - |
63 |
| - |
64 |
| - |
65 |
| - * Aspect Orient Programming (AOP) in Spring |
66 |
| - * Spring Boot 2 Hibernate 5 MySQL CRUD REST API Tutorial |
67 |
| - * Spring Boot 2 JPA MySQL CRUD Example |
68 |
| - * Spring Boot 2 CRUD REST APIs Validation Example |
69 |
| - * Spring Data JPA Auditing with Spring Boot 2 and MySQL Example |
70 |
| - * Spring Boot 2 Exception Handling for REST APIs |
71 |
| - * Spring Boot 2 Logging SLF4j Logback and LOG4j2 Example |
72 |
| - * Spring Boot 2 + Jersey REST + JPA + Hibernate 5 CRUD REST APIs |
73 |
| - * Spring Boot 2 - Scheduling Tasks |
74 |
| - * Spring Boot 2 RESTful API Documentation with Swagger 2 |
75 |
| - * Spring Boot 2 - File Upload and Download Rest API Tutorial // LATEST |
76 |
| -# |
77 | 2 |
|
78 | 3 | # Part-5: Spring Boot + Web Application
|
79 | 4 | * ### (resource/[code](https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-5%20Spring%20Boot%20Web%20Application)) Web applicaiton develops
|
|
82 | 7 | * Spring Boot 2 MVC Web Application Thymeleaf JPA MySQL Example
|
83 | 8 | * Spring Boot 2 - Spring MVC + Thymeleaf Input Form Validation
|
84 | 9 | * Spring Boot JPA Multiple Data Sources Example
|
85 |
| - |
86 |
| -# |
87 |
| -# Part-6: Spring Boot + Security |
88 |
| - * ### ([resource](https://dev.to/urunov/already-hacked-security-environment-of-the-system-1b82)/[code]( https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/Part-6%20Spring%20Boot%20Security)) Security possiblities |
89 |
| - |
90 |
| - * Spring Boot 2 + Spring MVC + Role Based Spring Security + JPA + Thymeleaf + MySQL |
91 |
| - * Authenticating a User with LDAP using Spring Boot and Spring Security |
92 |
| - * User Registration Module using Spring Boot 2 + Spring MVC + Spring Security + Hibernate 5 + Thymeleaf + MySQL |
93 |
| -# |
94 |
| -# Part-7: TEST: Spring Boot |
95 |
| - * ### (resource/[code](https://github.com/Urunov/SpringBoot-Projects-FullStack/tree/master/Part-7%20Spring%20Boot%20TEST)) Security possiblities |
96 |
| - |
97 |
| - * Spring Data JPA + Repository Testing using Spring Boot + @DataJpaTest |
98 |
| - * Spring Boot 2 + REST APIs Integration Testing |
99 |
| - * Spring Boot 2 with JUnit 5 Testing Example |
100 |
| -# |
101 |
| - |
102 |
| -# Part-8: Spring Boot Real Project (TO-DO) |
103 |
| - * ### ([resource]/[code](https://github.com/Urunov/SpringBoot-Projects-FullStack/tree/master/Part-8%20Spring%20Boot%20Real%20Projects)) Project: Spring Boot (toddler steps) |
104 |
| - |
105 |
| - * Spring Boot + PostgreSQL + JPA/Hibernate CRUD Restful API Tutorial |
106 |
| - * Spring Boot + Spring JDBC + MySQL CRUD (Simple Project) |
107 |
| - * Spring Boot + Angular 8 Example Tutorial |
108 |
| - * Spring Boot + Angular 8 + WebSocket Example Tutorial |
109 |
| - * Spring Boot Thymeleaf CRUD Example Tutorial |
110 |
| - * Spring Boot + Angular 6 CRUD Example |
111 |
| - * Spring Boot 2 + Angular 7 CRUD Example Tutorial |
112 |
| - |
113 |
| -# Reference Resources |
114 |
| - * [ Spring Annotation ](https://www.journaldev.com/16966/spring-annotations#spring-annotations-list) |
115 |
| - |
116 |
| - * [ Spring MVC ](https://www.java67.com/2019/04/top-10-spring-mvc-and-rest-annotations-examples-java.html) |
117 |
| - |
118 |
| - * [ Spring Books ](https://github.com/Hamdambek/SpringBoot-Projects-FullStack/tree/master/InAddition) |
119 |
| - |
120 |
| -# License: Spring Boot is Open Source software released |
121 |
| - * [ Apache 2.0 license ](http://www.apache.org/licenses/LICENSE-2.0.html) |
122 |
| - |
123 |
| -# |
| 10 | + |
| 11 | + * SpringBootFormValidationJSP |
| 12 | + - Below are some constraints defined by Java Bean Validation API: |
| 13 | + |
| 14 | + @NotEmpty: specifies that the annotated field must not be null or empty. |
| 15 | + @NotBlank: the annotated field must not be null and must contain at least one non-whitespace character. |
| 16 | + @NotNull: the annotated field must not be null. |
| 17 | + @Email: the string has to be a well-formed email address. |
| 18 | + @Min: the field must be a number whose value must be higher or equal to the specified minimum value. |
| 19 | + @Max: the field must be a number whose value must be lower or equal to the specified maximum value. |
| 20 | + @Size: the field must have size falls within the specified range. Applied for string, collections and arrays. |
| 21 | + All these annotations come from the javax.validation.constraints package. For the complete list of Java Bean Validation annotations, see this page. |
| 22 | + |
| 23 | +And thanks to Spring Boot which applies automatic configuration, we don’t have configure anything to use Java Bean validation API. It’s automatically included in the spring-boot-starter-web dependency. |
| 24 | + |
| 25 | + * SpringBootThymeleafFormValidation |
| 26 | + - This Spring Boot tutorial helps you learn to code validation for form fields in a Spring Boot application with JSP/Thymeleaf view. |
| 27 | + - Form validation is necessary for any web forms to prevent the users from submitting inappropriate values for form fields. For example, the following screenshot shows the error messages reported after the user tries to submit the form when all fields are left blank. |
0 commit comments