├── springboot-stomp-websocket ├── .gitignore ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ └── org.eclipse.jdt.core.prefs ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── src │ └── main │ ├── resources │ └── static │ │ └── main.css │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── websocket │ ├── model │ ├── Greeting.java │ └── HelloMessage.java │ └── Application.java ├── spring covid-19 ├── bin │ ├── src │ │ ├── main │ │ │ ├── resources │ │ │ │ └── application.properties │ │ │ └── java │ │ │ │ └── io │ │ │ │ └── javabrains │ │ │ │ └── coronavirustracker │ │ │ │ ├── models │ │ │ │ └── LocationStats.class │ │ │ │ ├── controllers │ │ │ │ └── HomeController.class │ │ │ │ ├── CoronavirusTrackerApplication.class │ │ │ │ └── services │ │ │ │ └── CoronaVirusDataService.class │ │ └── test │ │ │ └── java │ │ │ └── io │ │ │ └── javabrains │ │ │ └── coronavirustracker │ │ │ └── CoronavirusTrackerApplicationTests.class │ ├── .gitattributes │ ├── .settings │ │ └── org.eclipse.core.resources.prefs │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.class │ │ │ └── maven-wrapper.properties │ ├── .idea │ │ ├── encodings.xml │ │ ├── modules.xml │ │ ├── misc.xml │ │ └── libraries │ │ │ └── Maven__org_ow2_asm_asm_5_0_4.xml │ └── .gitignore ├── README.md ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── io │ │ │ └── alanbinu │ │ │ └── coronavirustracker │ │ │ └── CoronavirusTrackerApplication.java │ └── test │ │ └── java │ │ └── io │ │ └── alanbinu │ │ └── coronavirustracker │ │ └── CoronavirusTrackerApplicationTests.java ├── target │ ├── classes │ │ ├── application.properties │ │ ├── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ │ └── io.javabrains │ │ │ │ └── coronavirus-tracker │ │ │ │ └── pom.properties │ │ └── io │ │ │ └── javabrains │ │ │ └── coronavirustracker │ │ │ ├── models │ │ │ └── LocationStats.class │ │ │ ├── controllers │ │ │ └── HomeController.class │ │ │ ├── CoronavirusTrackerApplication.class │ │ │ └── services │ │ │ └── CoronaVirusDataService.class │ └── test-classes │ │ └── io │ │ └── javabrains │ │ └── coronavirustracker │ │ └── CoronavirusTrackerApplicationTests.class ├── .settings │ ├── org.eclipse.jdt.apt.core.prefs │ ├── org.springframework.ide.eclipse.prefs │ └── org.eclipse.core.resources.prefs ├── .idea │ ├── encodings.xml │ ├── modules.xml │ ├── misc.xml │ └── libraries │ │ └── Maven__org_ow2_asm_asm_5_0_4.xml └── .mvn │ └── wrapper │ └── maven-wrapper.properties ├── springboot-async-example ├── src │ ├── main │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── springbootasyncexample │ │ └── SpringbootAsyncApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot2-java-config ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2javaconfig │ │ │ └── service │ │ │ ├── MessageService.java │ │ │ ├── MessageProcessor.java │ │ │ ├── EmailService.java │ │ │ ├── SMSService.java │ │ │ └── TwitterService.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2javaconfig │ │ └── Springboot2JavaConfigApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot2-junit5-example ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2junit5example │ │ ├── controller │ │ └── MessageController.java │ │ └── Springboot2Junit5ExampleApplication.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot2-xml-config ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2xmlconfig │ │ │ ├── service │ │ │ ├── MessageService.java │ │ │ ├── MessageProcessor.java │ │ │ ├── EmailService.java │ │ │ ├── SMSService.java │ │ │ ├── TwitterService.java │ │ │ └── MessageProcessorImpl.java │ │ │ └── model │ │ │ └── Message.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2xmlconfig │ │ └── Springboot2XmlConfigApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── SpringBoot-Todo-Project ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── spring │ │ │ └── project │ │ │ ├── ProjectApplication.java │ │ │ └── repository │ │ │ └── ToDoRepository.java │ └── test │ │ └── java │ │ └── spring │ │ └── project │ │ └── ProjectApplicationTests.java └── Screen Shot 2020-04-30 at 11.58.22 AM.png ├── springboot2-annotation-config ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2annotationconfig │ │ └── service │ │ ├── UserService.java │ │ ├── MessageService.java │ │ ├── SMSService.java │ │ ├── EmailService.java │ │ └── TwitterService.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot2-jpa-h2-crud-example ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2jpacrudexample │ │ │ └── repository │ │ │ └── EmployeeRepository.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ └── ApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── SpringBoot-Autowire-Qualifier ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ ├── Architecure.jpg │ │ │ └── com │ │ │ └── project │ │ │ └── spring │ │ │ └── configuration │ │ │ ├── AppConfiguration.java │ │ │ └── Computer.java │ └── test │ │ └── java │ │ └── com │ │ └── project │ │ └── spring │ │ └── ApplicationTests.java └── springbootcore.jpg ├── SpringBoot-Swagger2-Enabling └── src │ ├── main │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── spring │ └── swagger │ └── SwaggerApplicationTests.java ├── Springboot-ActiveMQ-Sample └── src │ └── main │ ├── resources │ ├── application.properties │ └── application.yml │ └── java │ └── com │ └── urunov │ └── activemq │ └── ActivemqApplication.java ├── Springboot-Employee-Search └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ ├── WebContent │ │ └── META-INF │ │ │ └── MANIFEST.MF │ │ └── spring │ │ └── project │ │ ├── config.java │ │ └── ProjectApplication.java │ └── test │ └── java │ └── spring │ └── project │ └── ProjectApplicationTests.java ├── Springboot-Security-Project ├── src │ ├── main │ │ ├── resources │ │ │ ├── application.properties │ │ │ ├── static │ │ │ │ └── css │ │ │ │ │ └── main.css │ │ │ └── templates │ │ │ │ └── about.html │ │ └── java │ │ │ └── spring │ │ │ └── security │ │ │ └── SecurityApplication.java │ └── test │ │ └── java │ │ └── spring │ │ └── security │ │ └── SecurityApplicationTests.java └── README.md ├── SpringBoot-GitApi-CodeChecking ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── src │ ├── main │ ├── resources │ │ ├── application.properties │ │ └── activecode │ └── java │ │ └── com │ │ └── urunov │ │ └── pairing │ │ ├── repository │ │ ├── GitCommitRepo.java │ │ └── GitNamespaceRepo.java │ │ └── PairingApplication.java │ └── test │ └── java │ └── com │ └── urunov │ └── pairing │ └── PairingApplicationTests.java ├── SpringBoot-MongoDB-NoSQL-CRUD ├── settings.gradle ├── README.md ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── src │ ├── main │ ├── resources │ │ ├── schema.script │ │ └── application.properties │ └── java │ │ └── com │ │ └── urunov │ │ └── mongodb │ │ ├── MongodbApplication.java │ │ ├── model │ │ └── DatabaseSequence.java │ │ └── exception │ │ └── ResourceNotFoundException.java │ └── test │ └── java │ └── com │ └── urunov │ └── mongodb │ └── MongodbApplicationTests.java ├── Springboot-Annotation-LookService └── src │ ├── main │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── spring │ └── annotation │ └── AnnotationApplicationTests.java ├── Spring Boot Configuration ├── SringXMLConfig │ └── src │ │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── spring │ │ │ └── configure │ │ │ ├── service │ │ │ ├── MessageService.java │ │ │ ├── MessageProcessor.java │ │ │ ├── SmsService.java │ │ │ ├── EmailService.java │ │ │ └── TwitterService.java │ │ │ └── model │ │ │ └── Message.java │ │ └── test │ │ └── java │ │ └── spring │ │ └── configure │ │ └── ConfigureApplicationTests.java └── SpringBootConfSource │ └── SpringXML │ └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── spring │ │ └── config │ │ ├── service │ │ ├── MessageService.java │ │ ├── MessageProcessor.java │ │ ├── EmailService.java │ │ ├── SMSService.java │ │ └── TwitterService.java │ │ └── model │ │ └── Message.java │ └── test │ └── java │ └── spring │ └── config │ └── ConfigApplicationTests.java ├── Springboot-Annotation-BootApplication └── src │ ├── main │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── spring │ └── annotation │ └── AnnotationApplicationTests.java ├── spring-cloud-loadbalance ├── chatbook │ ├── target │ │ ├── classes │ │ │ ├── application.properties │ │ │ └── com │ │ │ │ └── javatechie │ │ │ │ └── spring │ │ │ │ └── load │ │ │ │ └── balance │ │ │ │ └── api │ │ │ │ └── ChatbookApplication.class │ │ └── test-classes │ │ │ └── com │ │ │ └── javatechie │ │ │ └── spring │ │ │ └── load │ │ │ └── balance │ │ │ └── api │ │ │ └── ChatbookApplicationTests.class │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── alanbinu │ │ └── spring │ │ └── load │ │ └── balance │ │ └── api │ │ └── ChatbookApplicationTests.java └── user-app │ ├── src │ ├── main │ │ └── resources │ │ │ └── application.yml │ └── test │ │ └── java │ │ └── com │ │ └── alanbinu │ │ └── spring │ │ └── load │ │ └── balance │ │ └── api │ │ └── UserAppApplicationTests.java │ └── target │ ├── classes │ ├── application.yml │ ├── com │ │ └── javatechie │ │ │ └── spring │ │ │ └── load │ │ │ └── balance │ │ │ └── api │ │ │ ├── RibbonConfiguration.class │ │ │ └── UserAppApplication.class │ └── META-INF │ │ ├── maven │ │ └── com.example │ │ │ └── user-app │ │ │ └── pom.properties │ │ └── MANIFEST.MF │ └── test-classes │ └── com │ └── javatechie │ └── spring │ └── load │ └── balance │ └── api │ └── UserAppApplicationTests.class ├── springboot-thymeleaf-hello-world-example ├── src │ └── main │ │ ├── resources │ │ ├── application.properties │ │ └── templates │ │ │ └── hello.html │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootThymeleafHelloWorldExampleApplication.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── Springboot-ShoppingCard └── fullstack │ └── backend │ └── src │ ├── main │ ├── resources │ │ ├── application.properties │ │ └── static │ │ │ ├── images │ │ │ └── pusher-logo.png │ │ │ └── js │ │ │ └── components │ │ │ ├── header.js │ │ │ └── productList.js │ └── java │ │ └── com │ │ └── urunov │ │ ├── constants │ │ └── GeneralConstants.java │ │ └── CardApplication.java │ └── test │ └── java │ └── com │ └── urunov │ └── CardApplicationTests.java ├── login-registration-springboot-hibernate-jsp-auth ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.springframework.ide.eclipse.prefs │ ├── org.eclipse.m2e.core.prefs │ └── org.eclipse.wst.common.project.facet.core.xml ├── .idea │ ├── .gitignore │ ├── codeStyles │ │ ├── codeStyleConfig.xml │ │ └── Project.xml │ ├── vcs.xml │ ├── modules.xml │ └── misc.xml └── src │ └── main │ ├── webapp │ ├── index.jsp │ └── WEB-INF │ │ └── web.xml │ ├── resources │ ├── validation.properties │ └── application.properties │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── loginregistrationspringbootauthjsp │ ├── service │ └── UserService.java │ ├── repository │ ├── RoleRepository.java │ └── UserRepository.java │ └── Application.java ├── springboot2-webapp-thymeleaf ├── src │ └── main │ │ ├── resources │ │ ├── messages.properties │ │ ├── data.sql │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2webappthymeleaf │ │ ├── repositories │ │ └── UserRepository.java │ │ └── Springboot2WebappThymeleafApplication.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot-thymeleaf-security-demo ├── src │ └── main │ │ ├── resources │ │ ├── static │ │ │ ├── assets │ │ │ │ ├── css │ │ │ │ │ └── styles.css │ │ │ │ ├── font-awesome-4.5.0 │ │ │ │ │ ├── less │ │ │ │ │ │ ├── fixed-width.less │ │ │ │ │ │ ├── larger.less │ │ │ │ │ │ └── list.less │ │ │ │ │ ├── scss │ │ │ │ │ │ ├── _fixed-width.scss │ │ │ │ │ │ ├── _larger.scss │ │ │ │ │ │ ├── _list.scss │ │ │ │ │ │ └── font-awesome.scss │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ │ └── HELP-US-OUT.txt │ │ │ │ └── bootstrap │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── error │ │ │ │ └── 403.html │ │ └── messages.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springbootsecurity │ │ ├── repositories │ │ ├── MessageRepository.java │ │ └── UserRepository.java │ │ └── SpringbootThymeleafSecurityDemoApplication.java ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ └── org.eclipse.jdt.core.prefs └── gradle │ └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── springboot-testing-examples ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboottestingexamples │ │ ├── SpringbootTestingExamplesApplication.java │ │ └── repository │ │ └── EmployeeRepository.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot-jsp-hello-world-example ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ ├── webapp │ │ │ └── WEB-INF │ │ │ │ └── jsp │ │ │ │ └── hello.jsp │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot │ │ │ └── SpringbootJspHelloWorldExampleApplication.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootJspHelloWorldExampleApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── springboot-mongodb-crud ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── springboot │ │ └── alanbinu │ │ ├── repository │ │ └── ProductRepository.java │ │ ├── Application.java │ │ └── service │ │ └── ProductService.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── Springboot integrated with JSP ├── SpringJSPUpdate │ └── src │ │ ├── main │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── spring │ │ └── jsp │ │ └── JspApplicationTests.java └── SpringJSPSimple │ └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── webapp │ │ └── WEB-INF │ │ └── view │ │ ├── next.jsp │ │ └── index.jsp │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── DemoApplicationTests.java ├── Springboot-Employee-Salary ├── EmployeeSalary.JPG ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── spring │ │ │ └── project │ │ │ ├── ProApplication.java │ │ │ └── dao │ │ │ └── EmployeeDB.java │ └── test │ │ └── java │ │ └── spring │ │ └── project │ │ └── ProApplicationTests.java └── README.md ├── springboot2-freemarker-example ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── freemarker │ │ └── repository │ │ └── EmployeeRepository.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── spring-boot-crud-rest ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── alanbinu │ └── springbootcrudrest │ ├── repository │ └── UserRepository.java │ └── exception │ └── ResourceNotFoundException.java ├── springboot-multiple-datasources ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ └── org.eclipse.jdt.core.prefs └── src │ └── main │ ├── java │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── springbootmultipledatasources │ │ ├── orders │ │ └── repositories │ │ │ └── OrderRepository.java │ │ └── security │ │ └── repositories │ │ └── UserRepository.java │ └── resources │ └── security-data.sql ├── springboot2-logging ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2logging │ │ │ └── Springboot2LoggingApplication.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2logging │ │ └── Springboot2LoggingApplicationTests.java └── .gitignore ├── spring-aop-advice-examples ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ └── repository │ │ └── EmployeeRepository.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2jpacrudexample │ └── ApplicationTests.java ├── springboot2-jms-activemq ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar └── .gitignore ├── springboot2-jpa-auditing ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── springboot2jpaauditing │ │ └── repository │ │ └── UserRepository.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── springboot2jpaauditing │ └── Springboot2JpaAuditingApplicationTests.java ├── springboot2-jpa-swagger2 ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2swagger2 │ │ ├── repository │ │ └── EmployeeRepository.java │ │ └── Springboot2Swagger2Application.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2jpaswagger2 │ └── Springboot2Swagger2ApplicationTests.java ├── springboot2-webapp-jsp-WAR ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2webappjsp │ │ └── repositories │ │ └── UserRepository.java │ └── test │ └── java │ └── net │ └── guides │ └── springboot2 │ └── springboot2webappjsp │ └── Springboot2WebappJspApplicationTests.java ├── springboot2-webapp-jsp ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2webappjsp │ │ └── repositories │ │ └── UserRepository.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2webappjsp │ └── Springboot2WebappJspApplicationTests.java ├── spring-boot-2-jdbc-with-h2 ├── src │ ├── main │ │ └── resources │ │ │ ├── data.sql │ │ │ ├── schema.sql │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── alanbinu │ │ └── springboot │ │ └── jdbc │ │ └── h2 │ │ └── example │ │ └── SpringBoot2JdbcWithH2ApplicationTests.java └── .gitignore ├── spring-propertysource-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ └── main │ │ ├── resources │ │ ├── config.properties │ │ └── application.properties │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springpropertysourceexample │ │ └── Application.java └── .gitignore ├── springboot2-jpa-crud-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ ├── Application.java │ │ └── repository │ │ └── EmployeeRepository.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2jpacrudexample │ └── ApplicationTests.java ├── springboot2-springaop-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2jpacrudexample │ │ │ └── repository │ │ │ └── EmployeeRepository.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ └── ApplicationTests.java └── .gitignore ├── spring-boot-2-jpa-spring-data-rest ├── src │ └── main │ │ ├── resources │ │ ├── data.sql │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── alanbinu │ │ └── springboot │ │ └── jpa │ │ └── spring │ │ └── data │ │ └── rest │ │ └── example │ │ └── student │ │ └── StudentDataRestRepository.java └── .gitignore ├── springboot-crud-rest-api-validation ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── springbootcrudrestapivalidation │ └── repository │ └── EmployeeRepository.java ├── springboot-jpa-one-to-one-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ ├── java │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── jpa │ │ ├── repository │ │ └── InstructorRepository.java │ │ └── controller │ │ └── ResourceNotFoundException.java │ └── resources │ └── application.properties ├── springboot2-jdbc-crud-mysql-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ └── resources │ │ │ ├── data.sql │ │ │ └── schema.sql │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ └── ApplicationTests.java └── .gitignore ├── springboot2-mybatis-mysql-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ └── resources │ │ │ ├── data.sql │ │ │ └── schema.sql │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2jpacrudexample │ │ └── ApplicationTests.java └── .gitignore ├── spring-boot jpa-with-hibernate-and-h2 └── src │ └── main │ ├── resources │ ├── data.sql │ └── application.properties │ └── java │ └── com │ └── alanbinu │ └── springboot │ └── jpa │ └── hibernate │ └── h2 │ └── example │ └── student │ └── StudentRepository.java ├── springboot-crud-hibernate-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot │ │ │ ├── repository │ │ │ └── ProductRepository.java │ │ │ ├── service │ │ │ └── ProductService.java │ │ │ └── SpringbootCrudHibernateExampleApplication.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootCrudHibernateExampleApplicationTests.java └── .gitignore ├── springboot2-externalizing-conf-properties ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── springboot2externalizingconfproperties │ │ │ └── Application.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── springboot2externalizingconfproperties │ │ └── ApplicationTests.java └── .gitignore ├── springboot-hibernate-one-one-mapping ├── src │ ├── main │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot │ │ │ ├── entity │ │ │ └── Gender.java │ │ │ └── repository │ │ │ ├── UserRepository.java │ │ │ └── UserProfileRepository.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootHibernateOneOneMappingApplicationTests.java ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties └── .gitignore ├── springboot-upload-download-file-database ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ └── main │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── fileuploaddownload │ ├── repository │ └── DatabaseFileRepository.java │ ├── exception │ └── FileStorageException.java │ └── SpringbootUploadDownloadFileApplication.java ├── springboot2-mssql-jpa-hibernate-crud-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot2 │ │ └── crud │ │ ├── repository │ │ └── EmployeeRepository.java │ │ ├── Application.java │ │ └── exception │ │ └── ResourceNotFoundException.java │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2jpacrudexample │ └── ApplicationTests.java ├── .idea ├── codeStyles │ ├── codeStyleConfig.xml │ └── Project.xml ├── vcs.xml ├── modules.xml └── spring-boot-tutorial-master.iml ├── springboot2-postgresql-jpa-hibernate-crud-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── .gitignore └── src │ ├── main │ ├── java │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot2 │ │ │ └── crud │ │ │ ├── repository │ │ │ └── EmployeeRepository.java │ │ │ ├── Application.java │ │ │ └── exception │ │ │ └── ResourceNotFoundException.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── net │ └── alanbinu │ └── springboot2 │ └── springboot2jpacrudexample │ └── ApplicationTests.java ├── springboot-upload-download-file-rest-api-example ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.properties │ │ └── maven-wrapper.jar ├── uploads │ ├── new-junior-born.png │ ├── project-structure.PNG │ └── spring-web-annotations.PNG ├── .gitignore └── src │ └── main │ ├── resources │ └── application.properties │ └── java │ └── net │ └── alanbinu │ └── springboot │ └── fileuploaddownload │ ├── exception │ └── FileStorageException.java │ └── SpringbootUploadDownloadFileApplication.java ├── springboot-hibernate-one-many-mapping ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── test │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot │ │ │ └── SpringbootHibernateOneManyMappingApplicationTests.java │ └── main │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── repository │ │ ├── PostRepository.java │ │ └── CommentRepository.java └── .gitignore ├── springboot-hibernate-composite-key-demo ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootHibernateCompositeKeyDemoApplicationTests.java └── .gitignore ├── springboot-hibernate-many-to-many-mapping ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ └── java │ │ │ └── net │ │ │ └── alanbinu │ │ │ └── springboot │ │ │ └── repository │ │ │ ├── TagRepository.java │ │ │ └── PostRepository.java │ └── test │ │ └── java │ │ └── net │ │ └── alanbinu │ │ └── springboot │ │ └── SpringbootHibernateManyToManyMappingApplicationTests.java └── .gitignore ├── Springboot-SLF4J-project └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── spring │ │ └── database │ │ └── DatabaseApplication.java │ └── test │ └── java │ └── spring │ └── database │ └── DatabaseApplicationTests.java ├── Project-4.SpringBoot-AWS-S3 └── backend │ └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── urunov │ │ └── Awss3Application.java │ └── test │ └── java │ └── com │ └── urunov │ └── Awss3ApplicationTests.java ├── Springboot-Registration-Project └── src │ ├── main │ └── java │ │ └── spring │ │ └── security │ │ ├── config │ │ └── SecurityConfiguration.java │ │ ├── SecurityApplication.java │ │ └── repisitory │ │ └── UserRepository.java │ └── test │ └── java │ └── spring │ └── security │ └── SecurityApplicationTests.java ├── Springboot-Multiple-DataStructure └── src │ ├── test │ └── java │ │ └── spring │ │ └── mvc │ │ └── MvcApplicationTests.java │ └── main │ └── java │ └── spring │ └── mvc │ ├── security │ └── repository │ │ └── UserRepository.java │ └── orders │ └── repository │ └── OrderRepository.java ├── Springboot-Jersey-JPA └── src │ ├── test │ └── java │ │ └── spring │ │ └── database │ │ └── DatabaseApplicationTests.java │ └── main │ └── java │ └── spring │ └── database │ └── repository │ └── JobRepository.java ├── Registration-FullStack-Springboot └── src │ ├── test │ └── java │ │ └── pagination │ │ └── sort │ │ └── SortApplicationTests.java │ └── main │ └── java │ └── pagination │ └── sort │ ├── SortApplication.java │ └── repository │ └── EmployeeRepository.java └── Springboot-Registration-Page └── src ├── test └── java │ └── aspera │ └── registration │ └── RegistrationApplicationTests.java └── main └── java └── aspera └── registration ├── RegistrationApplication.java └── repository └── UserRepository.java /springboot-stomp-websocket/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | target 3 | -------------------------------------------------------------------------------- /spring covid-19/bin/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-async-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot2-java-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot2-junit5-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SpringBoot-Todo-Project/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring covid-19/README.md: -------------------------------------------------------------------------------- 1 | # Covid-19-Spring 2 | # Covid-19-Spring 3 | -------------------------------------------------------------------------------- /spring covid-19/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8087 -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SpringBoot-Swagger2-Enabling/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Springboot-ActiveMQ-Sample/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Springboot-Employee-Search/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Springboot-Security-Project/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring covid-19/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | 2 | server.port=8087 -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'pairing' 2 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'mongodb' 2 | -------------------------------------------------------------------------------- /Springboot-Annotation-LookService/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Springboot-Annotation-BootApplication/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/chatbook/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/chatbook/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /spring covid-19/bin/.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Springboot-ActiveMQ-Sample/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | activemq: 2 | broker-url: tcp://localhost:61616 -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | app.title=SpringMVC JPA Demo (With SpringBoot) -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | server.port=9090 -------------------------------------------------------------------------------- /Springboot-Employee-Search/src/main/java/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/css/styles.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 75px; 3 | } -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /spring covid-19/bin/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /spring covid-19/.settings/org.eclipse.jdt.apt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.apt.aptEnabled=false 3 | -------------------------------------------------------------------------------- /spring covid-19/.settings/org.springframework.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | boot.validation.initialized=true 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /springboot-testing-examples/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.jpa.hibernate.ddl-auto=update 2 | spring.jpa.show-sql=true -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.prefix=/WEB-INF/jsp/ 2 | spring.mvc.view.suffix=.jsp 3 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # MONGODB (MongoProperties) 2 | spring.data.mongodb.uri=mongodb://localhost:27017/ProductDB -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPUpdate/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.mvc.view.suffix=/WEB-INF/view/ 2 | spring.mvc.view.prefix=.jsp 3 | -------------------------------------------------------------------------------- /Springboot-Employee-Salary/EmployeeSalary.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/Springboot-Employee-Salary/EmployeeSalary.JPG -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.springframework.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | boot.validation.initialized=true 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /springboot2-freemarker-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.freemarker.template-loader-path: classpath:/templates 2 | spring.freemarker.suffix: .ftl -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/springbootcore.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/SpringBoot-Autowire-Qualifier/springbootcore.jpg -------------------------------------------------------------------------------- /spring-boot-crud-rest/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /springboot2-logging/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /spring-aop-advice-examples/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-async-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-java-config/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jms-activemq/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jpa-auditing/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-junit5-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-logging/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-logging/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-webapp-jsp-WAR/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-webapp-jsp/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-xml-config/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /spring-boot-2-jdbc-with-h2/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into student 2 | values(10001,'Ranga', 'E1234567'); 3 | 4 | insert into student 5 | values(10002,'Ravi', 'A1234568'); -------------------------------------------------------------------------------- /spring-boot-crud-rest/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-boot-crud-rest/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-propertysource-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-testing-examples/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-annotation-config/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-freemarker-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-springaop-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-webapp-jsp/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-webapp-jsp/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-xml-config/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-xml-config/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /spring-boot-2-jpa-spring-data-rest/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into student 2 | values(10001,'Ranga', 'E1234567'); 3 | 4 | insert into student 5 | values(10002,'Ravi', 'A1234568'); -------------------------------------------------------------------------------- /springboot-async-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-async-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-crud-rest-api-validation/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-mongodb-crud/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-java-config/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-java-config/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-jms-activemq/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jms-activemq/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jpa-auditing/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jpa-auditing/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jpa-swagger2/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-springaop-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.web=INFO 2 | logging.level.org.hibernate=ERROR 3 | logging.level.net.guides=DEBUG -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## References 4 | 1. [CRUD Spring Boot + Mongo DB](https://www.javaguides.net/2019/12/spring-boot-mongodb-crud-example-tutorial.html) 5 | -------------------------------------------------------------------------------- /spring-aop-advice-examples/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-aop-advice-examples/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot jpa-with-hibernate-and-h2/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into student 2 | values(10001,'Ranga', 'E1234567'); 3 | 4 | insert into student 5 | values(10002,'Ravi', 'A1234568'); -------------------------------------------------------------------------------- /spring-propertysource-example/src/main/resources/config.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/dev_db 3 | jdbc.username=root 4 | jdbc.password=root -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-stomp-websocket/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-testing-examples/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-testing-examples/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-junit5-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-junit5-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-webapp-jsp-WAR/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-webapp-jsp-WAR/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/src/main/java/Architecure.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/SpringBoot-Autowire-Qualifier/src/main/java/Architecure.jpg -------------------------------------------------------------------------------- /spring-propertysource-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-propertysource-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/src/main/java/net/alanbinu/springboot/entity/Gender.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.entity; 2 | 3 | public enum Gender { 4 | MALE, FEMALE 5 | 6 | } 7 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-stomp-websocket/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /springboot-upload-download-file-database/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-annotation-config/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-annotation-config/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jpa-crud-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-springaop-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-springaop-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-webapp-thymeleaf/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/SpringBoot-MongoDB-NoSQL-CRUD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Springboot-Security-Project/src/main/resources/static/css/main.css: -------------------------------------------------------------------------------- 1 | h1{ 2 | color:#0000FF; 3 | } 4 | 5 | h2{ 6 | color:#FF0000; 7 | } 8 | 9 | footer{ 10 | margin-top:60px; 11 | } -------------------------------------------------------------------------------- /spring covid-19/bin/.mvn/wrapper/MavenWrapperDownloader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/.mvn/wrapper/MavenWrapperDownloader.class -------------------------------------------------------------------------------- /springboot2-freemarker-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-freemarker-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jpa-h2-crud-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/SpringBoot-GitApi-CodeChecking/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /SpringBoot-Todo-Project/Screen Shot 2020-04-30 at 11.58.22 AM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/SpringBoot-Todo-Project/Screen Shot 2020-04-30 at 11.58.22 AM.png -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-crud-hibernate-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-jpa-one-to-one-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-jsp-hello-world-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-stomp-websocket/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip 2 | -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-mybatis-mysql-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-crud-rest-api-validation/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-crud-rest-api-validation/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-hibernate-one-many-mapping/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-hibernate-one-one-mapping/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-jdbc-crud-mysql-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-propertysource-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.web=INFO 2 | logging.level.org.hibernate=ERROR 3 | logging.level.net.guides=DEBUG 4 | 5 | logging.file=myapp.log -------------------------------------------------------------------------------- /springboot-hibernate-composite-key-demo/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-hibernate-composite-key-demo/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-2-jdbc-with-h2/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table student 2 | ( 3 | id integer not null, 4 | name varchar(255) not null, 5 | passport_number varchar(255) not null, 6 | primary key(id) 7 | ); -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-hibernate-many-to-many-mapping/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-hello-world-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot-upload-download-file-database/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-upload-download-file-database/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-externalizing-conf-properties/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into employees values(10001,'Ramesh', 'Fadatare', 'ramesh@gmail.com'); 2 | 3 | insert into employees values(10002,'Jit', 'Jadhav', 'jadhav@gmail.com'); -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into employees values(10001,'Ramesh', 'Fadatare', 'ramesh@gmail.com'); 2 | 3 | insert into employees values(10002,'Jit', 'Jadhav', 'jadhav@gmail.com'); -------------------------------------------------------------------------------- /Springboot-SLF4J-project/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | logging.level.org.springframework.web=INFO 3 | logging.level.org.hibernate=ERROR 4 | logging.level.net.guides = DEBUG 5 | 6 | #logging.file = myapp.log -------------------------------------------------------------------------------- /spring covid-19/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding/=UTF-8 6 | -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-mssql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/uploads/new-junior-born.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-upload-download-file-rest-api-example/uploads/new-junior-born.png -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/uploads/project-structure.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-upload-download-file-rest-api-example/uploads/project-structure.PNG -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-upload-download-file-rest-api-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot2-postgresql-jpa-hibernate-crud-example/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring covid-19/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring covid-19/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Build-Jdk-Spec: 15 3 | Implementation-Title: coronavirus-tracker 4 | Implementation-Version: 0.0.1-SNAPSHOT 5 | Created-By: Maven Integration for Eclipse 6 | 7 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/uploads/spring-web-annotations.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-upload-download-file-rest-api-example/uploads/spring-web-annotations.PNG -------------------------------------------------------------------------------- /Project-4.SpringBoot-AWS-S3/backend/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | aws.access_key_id= 5 | aws.secret_access_key= 6 | aws.s3.bucket= 7 | aws.s3.region=AP_NORTHEAST_2 -------------------------------------------------------------------------------- /Springboot-Security-Project/README.md: -------------------------------------------------------------------------------- 1 | # Part-8: Spring Boot Real Project 2 | 3 | ![Project-6](https://user-images.githubusercontent.com/11626327/82540072-755bd980-9b89-11ea-82b5-c72c106cb721.JPG) 4 | -------------------------------------------------------------------------------- /spring covid-19/bin/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # h2 database 2 | 3 | spring.h2.console.enabled=true 4 | spring.h2.console.path=/h2 5 | 6 | spring.jpa.hibernate.ddl-auto=create-drop 7 | spring.jpa.show-sql=true 8 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding/=UTF-8 6 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/resources/static/images/pusher-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/Springboot-ShoppingCard/fullstack/backend/src/main/resources/static/images/pusher-logo.png -------------------------------------------------------------------------------- /spring covid-19/target/classes/io/javabrains/coronavirustracker/models/LocationStats.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/target/classes/io/javabrains/coronavirustracker/models/LocationStats.class -------------------------------------------------------------------------------- /spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/models/LocationStats.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/models/LocationStats.class -------------------------------------------------------------------------------- /Springboot-Employee-Search/src/main/java/spring/project/config.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | /** 4 | * @Created 04 / 05 / 2020 - 5:20 PM 5 | * @project EmployeeSearch 6 | * @Author Hamdamboy 7 | */ 8 | public class config { 9 | } 10 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public interface MessageService { 4 | public void sendMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /spring covid-19/target/classes/io/javabrains/coronavirustracker/controllers/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/target/classes/io/javabrains/coronavirustracker/controllers/HomeController.class -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | label.email=Email 2 | label.password=Password 3 | label.login=Login 4 | label.submit=Submit 5 | 6 | info.logout_success=You have been logged out 7 | error.login_failed=Invalid Email and Password 8 | -------------------------------------------------------------------------------- /springboot2-java-config/src/main/java/net/alanbinu/springboot2/springboot2javaconfig/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig.service; 2 | 3 | public interface MessageService { 4 | public void sendMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/controllers/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/controllers/HomeController.class -------------------------------------------------------------------------------- /spring covid-19/target/classes/io/javabrains/coronavirustracker/CoronavirusTrackerApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/target/classes/io/javabrains/coronavirustracker/CoronavirusTrackerApplication.class -------------------------------------------------------------------------------- /springboot2-java-config/src/main/java/net/alanbinu/springboot2/springboot2javaconfig/service/MessageProcessor.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig.service; 2 | 3 | public interface MessageProcessor { 4 | public void processMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table employees 2 | ( 3 | id integer not null, 4 | first_name varchar(255) not null, 5 | last_name varchar(255) not null, 6 | email_address varchar(255) not null, 7 | primary key(id) 8 | ); -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table employees 2 | ( 3 | id integer not null, 4 | first_name varchar(255) not null, 5 | last_name varchar(255) not null, 6 | email_address varchar(255) not null, 7 | primary key(id) 8 | ); -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/MessageProcessor.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public interface MessageProcessor { 4 | public void processMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /spring covid-19/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring covid-19/bin/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/CoronavirusTrackerApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/CoronavirusTrackerApplication.class -------------------------------------------------------------------------------- /spring covid-19/target/classes/io/javabrains/coronavirustracker/services/CoronaVirusDataService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/target/classes/io/javabrains/coronavirustracker/services/CoronaVirusDataService.class -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | chatbook: 2 | ribbon: 3 | eureka: 4 | enabled: false 5 | listOfServers: localhost:8081,localhost:8082,localhost:8083 6 | ServerListRefreshInterval: 2000 7 | 8 | server: 9 | port: 9090 -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/classes/application.yml: -------------------------------------------------------------------------------- 1 | chatbook: 2 | ribbon: 3 | eureka: 4 | enabled: false 5 | listOfServers: localhost:8081,localhost:8082,localhost:8083 6 | ServerListRefreshInterval: 2000 7 | 8 | server: 9 | port: 9090 -------------------------------------------------------------------------------- /spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/services/CoronaVirusDataService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/src/main/java/io/javabrains/coronavirustracker/services/CoronaVirusDataService.class -------------------------------------------------------------------------------- /springboot-mongodb-crud/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar 3 | -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/java/net/alanbinu/springboot2/springboot2annotationconfig/service/UserService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2annotationconfig.service; 2 | 3 | public interface UserService { 4 | public void processMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /springboot2-logging/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.web=INFO 2 | logging.level.org.hibernate=ERROR 3 | logging.level.net.guides=DEBUG 4 | 5 | logging.file=myapp.log 6 | 7 | server.port=8081 8 | 9 | server.servlet.context-path=DemoContextPath -------------------------------------------------------------------------------- /spring covid-19/bin/src/test/java/io/javabrains/coronavirustracker/CoronavirusTrackerApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/bin/src/test/java/io/javabrains/coronavirustracker/CoronavirusTrackerApplicationTests.class -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/src/main/resources/templates/hello.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 |

9 | 10 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/java/net/alanbinu/springboot2/springboot2annotationconfig/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2annotationconfig.service; 2 | 3 | public interface MessageService { 4 | public void sendMsg(String message); 5 | } 6 | -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /spring covid-19/target/test-classes/io/javabrains/coronavirustracker/CoronavirusTrackerApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring covid-19/target/test-classes/io/javabrains/coronavirustracker/CoronavirusTrackerApplicationTests.class -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-bin.zip 6 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/chatbook/target/classes/com/javatechie/spring/load/balance/api/ChatbookApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-cloud-loadbalance/chatbook/target/classes/com/javatechie/spring/load/balance/api/ChatbookApplication.class -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/classes/com/javatechie/spring/load/balance/api/RibbonConfiguration.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-cloud-loadbalance/user-app/target/classes/com/javatechie/spring/load/balance/api/RibbonConfiguration.class -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/classes/com/javatechie/spring/load/balance/api/UserAppApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-cloud-loadbalance/user-app/target/classes/com/javatechie/spring/load/balance/api/UserAppApplication.class -------------------------------------------------------------------------------- /springboot-hibernate-composite-key-demo/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPSimple/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | spring.mvc.view.prefix=/WEB-INF/view/ 3 | spring.mvc.view.suffix=.jsp 4 | 5 | # For detailed loggin during development 6 | 7 | #logging.level.org.springframework=TRACE 8 | #logging.level.com=TRACE 9 | -------------------------------------------------------------------------------- /Springboot-Employee-Salary/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | spring.jpa.hibernate.ddl-auto=update 3 | spring.datasource.url=jdbc:mysql://localhost:3306/springboot?characterEncoding=UTF-8&serverTimezone=UTC 4 | spring.datasource.username=root 5 | spring.datasource.password=posilka2020 6 | -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /Springboot-Registration-Project/src/main/java/spring/security/config/SecurityConfiguration.java: -------------------------------------------------------------------------------- 1 | package spring.security.config; 2 | 3 | /** 4 | * @Created 29 / 04 / 2020 - 3:51 PM 5 | * @project SpringRegistor 6 | * @Author Hamdamboy 7 | */ 8 | public class SecurityConfiguration { 9 | } 10 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/chatbook/target/test-classes/com/javatechie/spring/load/balance/api/ChatbookApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-cloud-loadbalance/chatbook/target/test-classes/com/javatechie/spring/load/balance/api/ChatbookApplicationTests.class -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/test-classes/com/javatechie/spring/load/balance/api/UserAppApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlanBinu007/Spring-Boot-Advanced-Projects/HEAD/spring-cloud-loadbalance/user-app/target/test-classes/com/javatechie/spring/load/balance/api/UserAppApplicationTests.class -------------------------------------------------------------------------------- /springboot-stomp-websocket/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Mar 01 09:09:11 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip 7 | -------------------------------------------------------------------------------- /spring covid-19/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring covid-19/bin/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/EmailService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public class EmailService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/SMSService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public class SMSService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # MongoDB (MongoProperties) 2 | 3 | # Create User: login/pwd 4 | spring.data.mongodb.username=urunov 5 | spring.data.mongodb.password=data2021! 6 | spring.data.mongodb.database=analysis2data 7 | 8 | spring.data.mongodb.port=27017 9 | spring.data.mongodb.host=localhost -------------------------------------------------------------------------------- /springboot2-java-config/src/main/java/net/alanbinu/springboot2/springboot2javaconfig/service/EmailService.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig.service; 2 | 3 | public class EmailService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /springboot2-java-config/src/main/java/net/alanbinu/springboot2/springboot2javaconfig/service/SMSService.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig.service; 2 | 3 | public class SMSService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /springboot2-java-config/src/main/java/net/alanbinu/springboot2/springboot2javaconfig/service/TwitterService.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig.service; 2 | 3 | public class TwitterService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/TwitterService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public class TwitterService implements MessageService{ 4 | 5 | public void sendMsg(String message) { 6 | System.out.println(message); 7 | } 8 | 9 | } 10 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /spring covid-19/bin/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | pom.xml.tag 3 | pom.xml.releaseBackup 4 | pom.xml.versionsBackup 5 | pom.xml.next 6 | release.properties 7 | dependency-reduced-pom.xml 8 | buildNumber.properties 9 | .mvn/timing.properties 10 | # https://github.com/takari/maven-wrapper#usage-without-binary-jar 11 | .mvn/wrapper/maven-wrapper.jar 12 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/classes/META-INF/maven/com.example/user-app/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sat Jun 09 20:27:09 IST 2018 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.example 5 | m2e.projectName=user-app 6 | m2e.projectLocation=D\:\\POC\\SPRING BOOT TUTORIALS\\user-app 7 | artifactId=user-app 8 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/main/resources/schema.script: -------------------------------------------------------------------------------- 1 | ## DB create schema 2 | 3 | use crud2employee; 4 | db.createUser( 5 | { 6 | user: "urunov", 7 | pwd: "parol!", 8 | roles : [ 9 | { role: "readWrite", db: "crud2employee" }, 10 | { role: "readWrite", db: "projects" } 11 | ] 12 | } 13 | ); 14 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package spring.configure.service; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:17 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public interface MessageService { 9 | public void sendMsg(String message); 10 | } 11 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/service/MessageService.java: -------------------------------------------------------------------------------- 1 | package spring.config.service; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:44 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public interface MessageService { 9 | public void sendMsg(String message); 10 | } 11 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | # MongoDB (MongoProperties) 3 | 4 | # Create User: login/pwd 5 | 6 | spring.data.mongodb.username=urunov 7 | spring.data.mongodb.password=parol! 8 | spring.data.mongodb.database=crud2employee 9 | 10 | spring.data.mongodb.port=27017 11 | spring.data.mongodb.host=localhost -------------------------------------------------------------------------------- /Springboot-Employee-Salary/src/test/java/spring/project/ProApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ProApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Multiple-DataStructure/src/test/java/spring/mvc/MvcApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.mvc; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class MvcApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Project-4.SpringBoot-AWS-S3/backend/src/test/java/com/urunov/Awss3ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.urunov; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class Awss3ApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/service/MessageProcessor.java: -------------------------------------------------------------------------------- 1 | package spring.config.service; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:42 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public interface MessageProcessor { 9 | public void processMsg(String message); 10 | } 11 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/service/MessageProcessor.java: -------------------------------------------------------------------------------- 1 | package spring.configure.service; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:14 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public interface MessageProcessor { 9 | public void processMsg(String message); 10 | } 11 | -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/src/test/java/com/project/spring/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.project.spring; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /SpringBoot-Todo-Project/src/test/java/spring/project/ProjectApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ProjectApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Jersey-JPA/src/test/java/spring/database/DatabaseApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.database; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class DatabaseApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | logging.level.org.springframework.web=INFO 2 | logging.level.org.hibernate=ERROR 3 | logging.level.net.guides=DEBUG 4 | 5 | logging.file=myapp.log 6 | 7 | jdbc.driver=com.mysql.jdbc.Driver 8 | jdbc.url=jdbc:mysql://localhost:3306/dev_db 9 | jdbc.username=root 10 | jdbc.password=root -------------------------------------------------------------------------------- /Registration-FullStack-Springboot/src/test/java/pagination/sort/SortApplicationTests.java: -------------------------------------------------------------------------------- 1 | package pagination.sort; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SortApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /SpringBoot-Swagger2-Enabling/src/test/java/spring/swagger/SwaggerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.swagger; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SwaggerApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPUpdate/src/test/java/spring/jsp/JspApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.jsp; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class JspApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Employee-Search/src/test/java/spring/project/ProjectApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ProjectApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-SLF4J-project/src/test/java/spring/database/DatabaseApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.database; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class DatabaseApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/test/java/com/urunov/CardApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.urunov; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class CardApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/resources/validation.properties: -------------------------------------------------------------------------------- 1 | NotEmpty=This field is required. 2 | Size.userForm.username=Please use between 6 and 32 characters. 3 | Duplicate.userForm.username=Someone already has that username. 4 | Size.userForm.password=Try one with at least 8 characters. 5 | Diff.userForm.passwordConfirm=These passwords don't match. -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/src/main/java/net/alanbinu/springboot/repository/ProductRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springboot.model.Product; 6 | 7 | public interface ProductRepository extends JpaRepository { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/src/main/java/net/springboot/alanbinu/repository/ProductRepository.java: -------------------------------------------------------------------------------- 1 | package net.springboot.alanbinu.repository; 2 | 3 | import org.springframework.data.mongodb.repository.MongoRepository; 4 | 5 | import net.springboot.alanbinu.model.Product; 6 | 7 | public interface ProductRepository extends MongoRepository{ 8 | 9 | } 10 | -------------------------------------------------------------------------------- /Springboot-Registration-Project/src/test/java/spring/security/SecurityApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.security; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SecurityApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Security-Project/src/test/java/spring/security/SecurityApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.security; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SecurityApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/model/Message.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.model; 2 | 3 | public class Message { 4 | private int id; 5 | private String message; 6 | public Message(int id, String message) { 7 | super(); 8 | this.id = id; 9 | this.message = message; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/test/java/com/urunov/pairing/PairingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.urunov.pairing; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class PairingApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/test/java/com/urunov/mongodb/MongodbApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.urunov.mongodb; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class MongodbApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring covid-19/target/classes/META-INF/maven/io.javabrains/coronavirus-tracker/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue Apr 27 09:20:04 IST 2021 3 | m2e.projectLocation=E\:\\My GitHub Projects\\spring covid-19\\coronavirus-tracker 4 | m2e.projectName=coronavirus-tracker 5 | groupId=io.javabrains 6 | artifactId=coronavirus-tracker 7 | version=0.0.1-SNAPSHOT 8 | -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/src/main/webapp/WEB-INF/jsp/hello.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |

Hello ${name}!

11 | 12 | -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPSimple/src/test/java/com/example/demo/DemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class DemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Annotation-LookService/src/test/java/spring/annotation/AnnotationApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.annotation; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class AnnotationApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/src/main/resources/static/main.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #f5f5f5; 3 | } 4 | 5 | #main-content { 6 | max-width: 940px; 7 | padding: 2em 3em; 8 | margin: 0 auto 20px; 9 | background-color: #fff; 10 | border: 1px solid #e5e5e5; 11 | -webkit-border-radius: 5px; 12 | -moz-border-radius: 5px; 13 | border-radius: 5px; 14 | } -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/test/java/spring/configure/ConfigureApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.configure; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ConfigureApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Registration-Page/src/test/java/aspera/registration/RegistrationApplicationTests.java: -------------------------------------------------------------------------------- 1 | package aspera.registration; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class RegistrationApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring covid-19/src/test/java/io/alanbinu/coronavirustracker/CoronavirusTrackerApplicationTests.java: -------------------------------------------------------------------------------- 1 | package io.alanbinu.coronavirustracker; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class CoronavirusTrackerApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-2-jdbc-with-h2/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/test/java/spring/config/ConfigApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.config; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class ConfigApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-2-jpa-spring-data-rest/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /spring-boot-crud-rest/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/java/net/alanbinu/springbootsecurity/repositories/MessageRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springbootsecurity.repositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springbootsecurity.entities.Message; 6 | 7 | 8 | public interface MessageRepository extends JpaRepository{ 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot2-java-config/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-logging/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-webapp-jsp/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-xml-config/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /.idea/spring-boot-tutorial-master.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/java/com/urunov/constants/GeneralConstants.java: -------------------------------------------------------------------------------- 1 | package com.urunov.constants; 2 | 3 | /** 4 | * User: hamdamboy 5 | * Project: card 6 | * Github: @urunov 7 | */ 8 | public interface GeneralConstants { 9 | 10 | 11 | /** ID in the session of the shopping card object*/ 12 | String ID_SESSION_SHOPPING_CART = "shopping-cart-1"; 13 | } 14 | -------------------------------------------------------------------------------- /spring-aop-advice-examples/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-async-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-testing-examples/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-jpa-auditing/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-junit5-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-webapp-jsp-WAR/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /Springboot-Annotation-BootApplication/src/test/java/spring/annotation/AnnotationApplicationTests.java: -------------------------------------------------------------------------------- 1 | package spring.annotation; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class AnnotationApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | // tets clsss 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /spring-propertysource-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/src/test/java/net/alanbinu/springboot/SpringbootJspHelloWorldExampleApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootJspHelloWorldExampleApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-annotation-config/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-freemarker-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-springaop-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/resources/static/js/components/header.js: -------------------------------------------------------------------------------- 1 | var Header = React.createClass({ 2 | render: function() { 3 | return ( 4 |
5 |
6 |

Shopping Card Calculator on Real Time

7 |
8 |
9 | ); 10 | } 11 | }); -------------------------------------------------------------------------------- /springboot-crud-rest-api-validation/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/src/test/java/net/alanbinu/springboot/SpringbootHibernateOneOneMappingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootHibernateOneOneMappingApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/main/java/com/urunov/pairing/repository/GitCommitRepo.java: -------------------------------------------------------------------------------- 1 | package com.urunov.pairing.repository; 2 | 3 | import com.urunov.pairing.data.GitCommit; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface GitCommitRepo extends MongoRepository { 9 | } 10 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/resources/static/js/components/productList.js: -------------------------------------------------------------------------------- 1 | var ProductList = React.createClass({ 2 | render: function() { 3 | 4 | var productsMapped = this.props.products.map(function (product, index) { 5 | return 6 | }); 7 | 8 | return (
{productsMapped}
); 9 | } 10 | }); -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/src/test/java/net/alanbinu/springboot/SpringbootHibernateOneManyMappingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootHibernateOneManyMappingApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/src/main/java/net/springboot/alanbinu/Application.java: -------------------------------------------------------------------------------- 1 | package net.springboot.alanbinu; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.methodParameters=generate 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.release=disabled 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /springboot-upload-download-file-database/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-webapp-jsp-WAR/src/main/java/net/alanbinu/springboot2/springboot2webappjsp/repositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2webappjsp.repositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.guides.springboot2.springboot2webappjsp.domain.User; 6 | 7 | public interface UserRepository extends JpaRepository 8 | { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot2-webapp-jsp/src/main/java/net/alanbinu/springboot2/springboot2webappjsp/repositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2webappjsp.repositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springboot2.springboot2webappjsp.domain.User; 6 | 7 | public interface UserRepository extends JpaRepository 8 | { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /spring-boot jpa-with-hibernate-and-h2/src/main/java/com/alanbinu/springboot/jpa/hibernate/h2/example/student/StudentRepository.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.springboot.jpa.hibernate.h2.example.student; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | @Repository 7 | public interface StudentRepository extends JpaRepository{ 8 | 9 | } 10 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Implementation-Title: user-app 3 | Implementation-Version: 0.0.1-SNAPSHOT 4 | Built-By: basantkumar.h 5 | Implementation-Vendor-Id: com.example 6 | Build-Jdk: 1.8.0_171 7 | Implementation-URL: https://projects.spring.io/spring-boot/#/spring-bo 8 | ot-starter-parent/user-app 9 | Created-By: Maven Integration for Eclipse 10 | 11 | -------------------------------------------------------------------------------- /springboot-hibernate-composite-key-demo/src/test/java/net/alanbinu/springboot/SpringbootHibernateCompositeKeyDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootHibernateCompositeKeyDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/src/main/java/net/alanbinu/springboot/repository/TagRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.Tag; 7 | 8 | @Repository 9 | public interface TagRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/src/main/java/net/alanbinu/springboot/repository/PostRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.Post; 7 | 8 | @Repository 9 | public interface PostRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/src/main/java/net/alanbinu/springboot/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.User; 7 | 8 | @Repository 9 | public interface UserRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.methodParameters=generate 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.release=disabled 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.methodParameters=generate 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.release=disabled 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fonticons (https://fonticons.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/main/java/com/urunov/pairing/repository/GitNamespaceRepo.java: -------------------------------------------------------------------------------- 1 | package com.urunov.pairing.repository; 2 | 3 | import com.urunov.pairing.data.GitNamespace; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface GitNamespaceRepo extends MongoRepository { 9 | } 10 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/java/net/alanbinu/springboot/loginregistrationspringbootauthjsp/service/UserService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.loginregistrationspringbootauthjsp.service; 2 | 3 | import net.alanbinu.springboot.loginregistrationspringbootauthjsp.model.User; 4 | 5 | public interface UserService { 6 | void save(User user); 7 | 8 | User findByUsername(String username); 9 | } 10 | -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/src/main/java/net/alanbinu/springboot/repository/PostRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.Post; 7 | 8 | @Repository 9 | public interface PostRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/src/test/java/net/alanbinu/springboot/SpringbootHibernateManyToManyMappingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootHibernateManyToManyMappingApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/java/net/alanbinu/springboot2/springboot2annotationconfig/service/SMSService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2annotationconfig.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | @Service("SMSService") 6 | public class SMSService implements MessageService{ 7 | 8 | public void sendMsg(String message) { 9 | System.out.println(message); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .sts4-cache 12 | 13 | ### IntelliJ IDEA ### 14 | .idea 15 | *.iws 16 | *.iml 17 | *.ipr 18 | 19 | ### NetBeans ### 20 | /nbproject/private/ 21 | /build/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/service/EmailService.java: -------------------------------------------------------------------------------- 1 | package spring.config.service; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:42 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public class EmailService implements MessageService { 9 | // 10 | public void sendMsg(String message) { 11 | System.out.println(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/service/SmsService.java: -------------------------------------------------------------------------------- 1 | package spring.configure.service; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:14 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public class SmsService implements MessageService{ 9 | @Override 10 | public void sendMsg(String message) { 11 | System.out.println(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /spring-boot-crud-rest/src/main/java/com/alanbinu/springbootcrudrest/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.springbootcrudrest.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import com.alanbinu.springbootcrudrest.model.User; 7 | 8 | @Repository 9 | public interface UserRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/java/net/alanbinu/springboot2/springboot2annotationconfig/service/EmailService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2annotationconfig.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | @Service("EmailService") 6 | public class EmailService implements MessageService{ 7 | 8 | public void sendMsg(String message) { 9 | System.out.println(message); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/service/EmailService.java: -------------------------------------------------------------------------------- 1 | package spring.configure.service; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:14 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public class EmailService implements MessageService{ 9 | @Override 10 | public void sendMsg(String message) { 11 | System.out.println(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /spring covid-19/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring covid-19/bin/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/src/main/java/net/alanbinu/springboot/repository/CommentRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.Comment; 7 | 8 | @Repository 9 | public interface CommentRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/model/Greeting.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.websocket.model; 2 | 3 | public class Greeting { 4 | 5 | private String content; 6 | 7 | public Greeting() { 8 | } 9 | 10 | public Greeting(String content) { 11 | this.content = content; 12 | } 13 | 14 | public String getContent() { 15 | return content; 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot2-annotation-config/src/main/java/net/alanbinu/springboot2/springboot2annotationconfig/service/TwitterService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2annotationconfig.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | @Service("TwitterService") 6 | public class TwitterService implements MessageService{ 7 | 8 | public void sendMsg(String message) { 9 | System.out.println(message); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/src/main/java/net/alanbinu/springboot2/springboot2webappthymeleaf/repositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2webappthymeleaf.repositories; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springboot2.springboot2webappthymeleaf.domain.User; 6 | 7 | public interface UserRepository extends JpaRepository 8 | { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/service/TwitterService.java: -------------------------------------------------------------------------------- 1 | package spring.configure.service; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:14 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public class TwitterService implements MessageService { 9 | @Override 10 | public void sendMsg(String message) { 11 | System.out.println(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Employee-Salary/src/main/java/spring/project/ProApplication.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ProApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ProApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | delete from user; 2 | 3 | INSERT INTO `users_database`.`user` (`id`, `name`) VALUES ('1', 'Salman'); 4 | INSERT INTO `users_database`.`user` (`id`, `name`) VALUES ('2', 'SRK'); 5 | INSERT INTO `users_database`.`user` (`id`, `name`) VALUES ('3', 'AMIR'); 6 | INSERT INTO `users_database`.`user` (`id`, `name`) VALUES ('4', 'Tiger'); 7 | INSERT INTO `users_database`.`user` (`id`, `name`) VALUES ('5', 'Prabhas'); 8 | -------------------------------------------------------------------------------- /Project-4.SpringBoot-AWS-S3/backend/src/main/java/com/urunov/Awss3Application.java: -------------------------------------------------------------------------------- 1 | package com.urunov; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Awss3Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Awss3Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /SpringBoot-Todo-Project/src/main/java/spring/project/ProjectApplication.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ProjectApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ProjectApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-ShoppingCard/fullstack/backend/src/main/java/com/urunov/CardApplication.java: -------------------------------------------------------------------------------- 1 | package com.urunov; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class CardApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(CardApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/java/net/alanbinu/springboot/loginregistrationspringbootauthjsp/repository/RoleRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.loginregistrationspringbootauthjsp.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springboot.loginregistrationspringbootauthjsp.model.Role; 6 | 7 | public interface RoleRepository extends JpaRepository{ 8 | } 9 | -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/src/main/java/net/alanbinu/springboot/repository/UserProfileRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.entity.UserProfile; 7 | 8 | @Repository 9 | public interface UserProfileRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/src/main/java/net/alanbinu/springboot/jpa/repository/InstructorRepository.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot.jpa.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.guides.springboot.jpa.model.Instructor; 7 | 8 | @Repository 9 | public interface InstructorRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.websocket; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Registration-FullStack-Springboot/src/main/java/pagination/sort/SortApplication.java: -------------------------------------------------------------------------------- 1 | package pagination.sort; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SortApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SortApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/service/SMSService.java: -------------------------------------------------------------------------------- 1 | package spring.config.service; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:44 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public class SMSService implements MessageService { 9 | 10 | @Override 11 | public void sendMsg(String message) { 12 | System.out.println(message); 13 | } 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/service/TwitterService.java: -------------------------------------------------------------------------------- 1 | package spring.config.service; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:44 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public class TwitterService implements MessageService{ 9 | // 10 | @Override 11 | public void sendMsg(String message) { 12 | System.out.println(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Springboot-Employee-Search/src/main/java/spring/project/ProjectApplication.java: -------------------------------------------------------------------------------- 1 | package spring.project; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ProjectApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ProjectApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-SLF4J-project/src/main/java/spring/database/DatabaseApplication.java: -------------------------------------------------------------------------------- 1 | package spring.database; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DatabaseApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DatabaseApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Employee-Salary/README.md: -------------------------------------------------------------------------------- 1 | # Spring Boot Projects 2 | 3 | 4 | # Part-8: Spring Boot Real Project 5 | 6 | There is Employee Update process project. 7 | - Update 8 | - Add 9 | - Delete 10 | 11 | Maven Project 12 | 13 | This picture represents output of the project 14 | ![EmployeeSalary](https://user-images.githubusercontent.com/11626327/80946139-55f24c00-8e28-11ea-8a61-52d242b6ba9d.JPG) 15 | -------------------------------------------------------------------------------- /Springboot-Security-Project/src/main/java/spring/security/SecurityApplication.java: -------------------------------------------------------------------------------- 1 | package spring.security; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SecurityApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SecurityApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/error/403.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | AccessDenied 9 | 10 | 11 |

You are not authorized to view this page!!

12 | 13 | 14 | -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.crud.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/main/java/com/urunov/mongodb/MongodbApplication.java: -------------------------------------------------------------------------------- 1 | package com.urunov.mongodb; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class MongodbApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(MongodbApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Registration-Project/src/main/java/spring/security/SecurityApplication.java: -------------------------------------------------------------------------------- 1 | package spring.security; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SecurityApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SecurityApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-freemarker-example/src/main/java/net/alanbinu/springboot2/freemarker/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.freemarker.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.freemarker.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.crud.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /Springboot-Multiple-DataStructure/src/main/java/spring/mvc/security/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package spring.mvc.security.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import spring.mvc.security.entity.User; 5 | 6 | /** 7 | * @Created 09 / 04 / 2020 - 8:55 AM 8 | * @project SpringMultipleDataStructure 9 | * @Author Hamdamboy 10 | */ 11 | public interface UserRepository extends JpaRepository { 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-jpa-auditing/src/main/java/net/alanbinu/springboot/springboot2jpaauditing/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot.springboot2jpaauditing.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.guides.springboot.springboot2jpaauditing.model.User; 7 | 8 | @Repository 9 | public interface UserRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/src/main/java/net/alanbinu/springboot2/springboot2jpacrudexample/Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2jpacrudexample; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | public static void main(String[] args) { 9 | SpringApplication.run(Application.class, args); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Springboot-ActiveMQ-Sample/src/main/java/com/urunov/activemq/ActivemqApplication.java: -------------------------------------------------------------------------------- 1 | package com.urunov.activemq; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ActivemqApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ActivemqApplication.class, args); 11 | } 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Springboot-Employee-Salary/src/main/java/spring/project/dao/EmployeeDB.java: -------------------------------------------------------------------------------- 1 | package spring.project.dao; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | import spring.project.model.Employee; 6 | 7 | /** 8 | * @Author: apple 9 | * @created on 02/05/2020 10 | * @Project is EmployeeSalary 11 | */ 12 | 13 | public interface EmployeeDB extends JpaRepository { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /Springboot-Multiple-DataStructure/src/main/java/spring/mvc/orders/repository/OrderRepository.java: -------------------------------------------------------------------------------- 1 | package spring.mvc.orders.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import spring.mvc.orders.entities.Order; 5 | 6 | /** 7 | * @Created 09 / 04 / 2020 - 9:12 AM 8 | * @project SpringMultipleDataStructure 9 | * @Author Hamdamboy 10 | */ 11 | public interface OrderRepository extends JpaRepository { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/main/java/com/urunov/mongodb/model/DatabaseSequence.java: -------------------------------------------------------------------------------- 1 | package com.urunov.mongodb.model; 2 | 3 | import lombok.*; 4 | import org.springframework.data.mongodb.core.mapping.Document; 5 | 6 | @Getter 7 | @Setter 8 | @ToString 9 | @NoArgsConstructor 10 | @AllArgsConstructor 11 | @Document(collection = "database_sequences") 12 | public class DatabaseSequence { 13 | // 14 | private String id; 15 | private String seq; 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Springboot-Registration-Page/src/main/java/aspera/registration/RegistrationApplication.java: -------------------------------------------------------------------------------- 1 | package aspera.registration; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class RegistrationApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(RegistrationApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-junit5-example/src/main/java/net/alanbinu/springboot2/springboot2junit5example/controller/MessageController.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2junit5example.controller; 2 | import org.springframework.web.bind.annotation.GetMapping; 3 | import org.springframework.web.bind.annotation.RestController; 4 | 5 | @RestController 6 | public class MessageController { 7 | 8 | @GetMapping("/hello") 9 | public String hello() { 10 | return "Hello World"; 11 | } 12 | 13 | } -------------------------------------------------------------------------------- /Spring Boot Configuration/SringXMLConfig/src/main/java/spring/configure/model/Message.java: -------------------------------------------------------------------------------- 1 | package spring.configure.model; 2 | 3 | /** 4 | * @Created 30 / 03 / 2020 - 10:13 AM 5 | * @project SpringXMLCongif 6 | * @Author Hamdamboy 7 | */ 8 | public class Message { 9 | private int id; 10 | private String message; 11 | public Message(int id, String message) { 12 | super(); 13 | this.id = id; 14 | this.message = message; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPSimple/src/main/webapp/WEB-INF/view/next.jsp: -------------------------------------------------------------------------------- 1 | 2 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 3 | 4 | 5 |
6 |
7 |

Another page-2

8 |

Welcome again Spring and JSP testing cases. ${message}

9 | 10 | Click on this link to visit previous page. 11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/src/main/java/net/springboot/alanbinu/service/ProductService.java: -------------------------------------------------------------------------------- 1 | package net.springboot.alanbinu.service; 2 | 3 | import java.util.List; 4 | 5 | import net.springboot.alanbinu.model.Product; 6 | 7 | public interface ProductService { 8 | Product createProduct(Product product); 9 | 10 | Product updateProduct(Product product); 11 | 12 | List getAllProduct(); 13 | 14 | Product getProductById(long productId); 15 | 16 | void deleteProduct(long id); 17 | } 18 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/java/net/alanbinu/springbootsecurity/repositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springbootsecurity.repositories; 2 | 3 | import java.util.Optional; 4 | 5 | import org.springframework.data.jpa.repository.JpaRepository; 6 | 7 | import net.alanbinu.springbootsecurity.entities.User; 8 | 9 | 10 | public interface UserRepository extends JpaRepository 11 | { 12 | 13 | Optional findByEmail(String email); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/src/main/java/net/alanbinu/springboot2/springboot2swagger2/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2swagger2.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboot2swagger2.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /spring-boot-2-jdbc-with-h2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Enabling H2 Console 2 | spring.h2.console.enabled=true 3 | #Turn Statistics on 4 | spring.jpa.properties.hibernate.generate_statistics=true 5 | logging.level.org.hibernate.stat=debug 6 | # Show all queries 7 | spring.jpa.show-sql=true 8 | spring.jpa.properties.hibernate.format_sql=true 9 | logging.level.org.hibernate.type=trace 10 | 11 | spring.datasource.url=jdbc:h2:mem:testdb 12 | spring.data.jpa.repositories.bootstrap-mode=default -------------------------------------------------------------------------------- /Springboot integrated with JSP/SpringJSPSimple/src/main/webapp/WEB-INF/view/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> 3 | 4 | 5 |
6 |
7 | 8 |

Spring Boot JSP Example

9 |

Hello ${message}

10 | 11 | Click on this link to visit another page. 12 | 13 | 14 |
15 |
16 | 17 | -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/src/main/java/net/alanbinu/springboot/service/ProductService.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.service; 2 | 3 | import java.util.List; 4 | 5 | import net.alanbinu.springboot.model.Product; 6 | 7 | public interface ProductService { 8 | Product createProduct(Product product); 9 | 10 | Product updateProduct(Product product); 11 | 12 | List getAllProduct(); 13 | 14 | Product getProductById(long productId); 15 | 16 | void deleteProduct(long id); 17 | } 18 | -------------------------------------------------------------------------------- /springboot-mongodb-crud/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/src/main/java/com/project/spring/configuration/AppConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.project.spring.configuration; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | public class AppConfiguration { 8 | // 9 | @Bean(name = "comp", initMethod = "turnOn", destroyMethod = "turnOf") 10 | Computer computer() { 11 | return new Computer(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Springboot-Jersey-JPA/src/main/java/spring/database/repository/JobRepository.java: -------------------------------------------------------------------------------- 1 | package spring.database.repository; 2 | 3 | 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | import spring.database.model.Job; 7 | 8 | /** 9 | * @Author: apple 10 | * @created on 01/04/2020 11 | * @Project is SpringJerseyJPA 12 | */ 13 | @Repository 14 | public interface JobRepository extends JpaRepository { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-2-jpa-spring-data-rest/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Enabling H2 Console 2 | spring.h2.console.enabled=true 3 | #Turn Statistics on 4 | spring.jpa.properties.hibernate.generate_statistics=true 5 | logging.level.org.hibernate.stat=debug 6 | # Show all queries 7 | spring.jpa.show-sql=true 8 | spring.jpa.properties.hibernate.format_sql=true 9 | logging.level.org.hibernate.type=trace 10 | 11 | spring.datasource.url=jdbc:h2:mem:testdb 12 | spring.data.jpa.repositories.bootstrap-mode=default -------------------------------------------------------------------------------- /springboot-multiple-datasources/src/main/java/net/alanbinu/springboot/springbootmultipledatasources/orders/repositories/OrderRepository.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package net.alanbinu.springboot.springbootmultipledatasources.orders.repositories; 5 | 6 | import org.springframework.data.jpa.repository.JpaRepository; 7 | 8 | import net.alanbinu.springboot.springbootmultipledatasources.orders.entities.Order; 9 | 10 | 11 | public interface OrderRepository extends JpaRepository{ 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Spring Boot Configuration/SpringBootConfSource/SpringXML/src/main/java/spring/config/model/Message.java: -------------------------------------------------------------------------------- 1 | package spring.config.model; 2 | 3 | /** 4 | * @Created 24 / 03 / 2020 - 2:44 PM 5 | * @project SpringBoot 6 | * @Author Hamdamboy 7 | */ 8 | public class Message { 9 | // 10 | private int id; 11 | private String message; 12 | 13 | public Message(int id, String message){ 14 | super(); 15 | this.id = id; 16 | this.message = message; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/java/net/alanbinu/springboot/loginregistrationspringbootauthjsp/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.loginregistrationspringbootauthjsp.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | 5 | import net.alanbinu.springboot.loginregistrationspringbootauthjsp.model.User; 6 | 7 | public interface UserRepository extends JpaRepository { 8 | User findByUsername(String username); 9 | } 10 | -------------------------------------------------------------------------------- /spring-aop-advice-examples/src/main/java/net/alanbinu/springboot2/springboot2jpacrudexample/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2jpacrudexample.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboot2jpacrudexample.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot2-jms-activemq/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ 25 | # Elastic Beanstalk Files 26 | .elasticbeanstalk/* 27 | !.elasticbeanstalk/*.cfg.yml 28 | !.elasticbeanstalk/*.global.yml 29 | -------------------------------------------------------------------------------- /springboot2-logging/src/main/java/net/alanbinu/springboot2/springboot2logging/Springboot2LoggingApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2logging; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Springboot2LoggingApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Springboot2LoggingApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /spring-boot jpa-with-hibernate-and-h2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # Enabling H2 Console 2 | spring.h2.console.enabled=true 3 | #Turn Statistics on 4 | spring.jpa.properties.hibernate.generate_statistics=true 5 | logging.level.org.hibernate.stat=debug 6 | # Show all queries 7 | spring.jpa.show-sql=true 8 | spring.jpa.properties.hibernate.format_sql=true 9 | logging.level.org.hibernate.type=trace 10 | 11 | 12 | spring.datasource.url=jdbc:h2:mem:testdb 13 | spring.data.jpa.repositories.bootstrap-mode=default -------------------------------------------------------------------------------- /springboot-hibernate-one-many-mapping/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-hibernate-one-one-mapping/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-upload-download-file-database/src/main/java/net/alanbinu/springboot/fileuploaddownload/repository/DatabaseFileRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.fileuploaddownload.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.fileuploaddownload.model.DatabaseFile; 7 | 8 | @Repository 9 | public interface DatabaseFileRepository extends JpaRepository { 10 | 11 | } -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/src/main/java/net/alanbinu/springboot2/springboot2externalizingconfproperties/Application.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2externalizingconfproperties; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/src/main/java/net/alanbinu/springboot2/springboot2jpacrudexample/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2jpacrudexample.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboot2jpacrudexample.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/src/main/java/net/alanbinu/springboot2/springboot2jpacrudexample/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2jpacrudexample.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboot2jpacrudexample.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot2-springaop-example/src/main/java/net/alanbinu/springboot2/springboot2jpacrudexample/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2jpacrudexample.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboot2jpacrudexample.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-hibernate-composite-key-demo/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-hibernate-many-to-many-mapping/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-jsp-hello-world-example/src/main/java/net/alanbinu/springboot/SpringbootJspHelloWorldExampleApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootJspHelloWorldExampleApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootJspHelloWorldExampleApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | !**/src/main/** 5 | !**/src/test/** 6 | 7 | ### STS ### 8 | .apt_generated 9 | .classpath 10 | .factorypath 11 | .project 12 | .settings 13 | .springBeans 14 | .sts4-cache 15 | 16 | ### IntelliJ IDEA ### 17 | .idea 18 | *.iws 19 | *.iml 20 | *.ipr 21 | 22 | ### NetBeans ### 23 | /nbproject/private/ 24 | /nbbuild/ 25 | /dist/ 26 | /nbdist/ 27 | /.nb-gradle/ 28 | build/ 29 | 30 | ### VS Code ### 31 | .vscode/ 32 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/src/main/java/net/alanbinu/springboot2/springboot2swagger2/Springboot2Swagger2Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2swagger2; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Springboot2Swagger2Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Springboot2Swagger2Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Registration-FullStack-Springboot/src/main/java/pagination/sort/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package pagination.sort.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | import pagination.sort.model.Employee; 6 | 7 | /** 8 | * @Author: apple 9 | * @created on 03/07/2020 10 | * @Project is PaginationSort 11 | */ 12 | @Repository 13 | public interface EmployeeRepository extends JpaRepository { 14 | } 15 | -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/main/java/com/urunov/pairing/PairingApplication.java: -------------------------------------------------------------------------------- 1 | package com.urunov.pairing; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class PairingApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(PairingApplication.class, args); 11 | } 12 | 13 | } 14 | 15 | 16 | // https://github.com/gitlab4j/gitlab4j-api -------------------------------------------------------------------------------- /SpringBoot-GitApi-CodeChecking/src/main/resources/activecode: -------------------------------------------------------------------------------- 1 | use activecode; 2 | db.posts.insertMany([ 3 | { 4 | title: 'Post Two', 5 | body: 'Body of post two', 6 | category: 'Technology', 7 | date: Date() 8 | }, 9 | { 10 | title: 'Post Three', 11 | body: 'Body of post three', 12 | category: 'News', 13 | date: Date() 14 | }, 15 | { 16 | title: 'Post Four', 17 | body: 'Body of post three', 18 | category: 'Entertainment', 19 | date: Date() 20 | } 21 | ]) -------------------------------------------------------------------------------- /SpringBoot-Todo-Project/src/main/java/spring/project/repository/ToDoRepository.java: -------------------------------------------------------------------------------- 1 | package spring.project.repository; 2 | 3 | import org.springframework.data.repository.PagingAndSortingRepository; 4 | import org.springframework.stereotype.Repository; 5 | import spring.project.entity.ToDo; 6 | 7 | /** 8 | * @Author: apple 9 | * @created on 30/04/2020 10 | * @Project is SpringSimpleTodo 11 | */ 12 | 13 | @Repository 14 | public interface ToDoRepository extends PagingAndSortingRepository { 15 | } 16 | -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/src/main/java/net/alanbinu/springboot/SpringbootCrudHibernateExampleApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootCrudHibernateExampleApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootCrudHibernateExampleApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/src/main/java/net/alanbinu/springboot/springbootmultipledatasources/security/repositories/UserRepository.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package net.alanbinu.springboot.springbootmultipledatasources.security.repositories; 5 | 6 | import org.springframework.data.jpa.repository.JpaRepository; 7 | 8 | 9 | import net.alanbinu.springboot.springbootmultipledatasources.security.entities.User; 10 | 11 | 12 | public interface UserRepository extends JpaRepository 13 | { 14 | 15 | } 16 | 17 | -------------------------------------------------------------------------------- /springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/model/HelloMessage.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.websocket.model; 2 | 3 | public class HelloMessage { 4 | 5 | private String name; 6 | 7 | public HelloMessage() { 8 | } 9 | 10 | public HelloMessage(String name) { 11 | this.name = name; 12 | } 13 | 14 | public String getName() { 15 | return name; 16 | } 17 | 18 | public void setName(String name) { 19 | this.name = name; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/main/java/net/alanbinu/springboot2/springboot2xmlconfig/service/MessageProcessorImpl.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2xmlconfig.service; 2 | 3 | public class MessageProcessorImpl implements MessageProcessor { 4 | 5 | private MessageService messageService; 6 | 7 | public void setMessageService(MessageService messageService) { 8 | this.messageService = messageService; 9 | } 10 | 11 | public void processMsg(String message) { 12 | messageService.sendMsg(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /spring-aop-advice-examples/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /SpringBoot-Autowire-Qualifier/src/main/java/com/project/spring/configuration/Computer.java: -------------------------------------------------------------------------------- 1 | package com.project.spring.configuration; 2 | 3 | import javax.annotation.PostConstruct; 4 | import javax.annotation.PreDestroy; 5 | 6 | public class Computer { 7 | // 8 | 9 | @PostConstruct 10 | public void turnOn() { 11 | System.out.println("Load operating system"); 12 | } 13 | 14 | @PreDestroy 15 | public void turnOf(){ 16 | System.out.println("Close all programs"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | ## MULTIPART (MultipartProperties) 2 | # Enable multipart uploads 3 | spring.servlet.multipart.enabled=true 4 | # Threshold after which files are written to disk. 5 | spring.servlet.multipart.file-size-threshold=2KB 6 | # Max file size. 7 | spring.servlet.multipart.max-file-size=200MB 8 | # Max Request Size 9 | spring.servlet.multipart.max-request-size=215MB 10 | 11 | ## File Storage Properties 12 | file.upload-dir=./uploads 13 | 14 | server.port=8081 -------------------------------------------------------------------------------- /springboot2-jpa-crud-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-jpa-h2-crud-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-springaop-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/java/net/alanbinu/springboot/loginregistrationspringbootauthjsp/Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.loginregistrationspringbootauthjsp; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | public static void main(String[] args) throws Exception { 9 | SpringApplication.run(Application.class, args); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.main.banner-mode=off 2 | logging.pattern.console=%clr(%d{yy-MM-dd E HH:mm:ss.SSS}){blue} %clr(%-5p) %clr(%logger{0}){blue} %clr(%m){faint}%n 3 | 4 | spring.datasource.url=jdbc:mysql://localhost:3306/demo?useSSL=false 5 | spring.datasource.username=root 6 | spring.datasource.password=root 7 | 8 | spring.jpa.hibernate.ddl-auto=update 9 | spring.jpa.database-platform=org.hibernate.dialect.MySQL57Dialect 10 | spring.jpa.generate-ddl=true 11 | spring.jpa.show-sql=true -------------------------------------------------------------------------------- /springboot2-jdbc-crud-mysql-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-mybatis-mysql-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/user-app/src/test/java/com/alanbinu/spring/load/balance/api/UserAppApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.spring.load.balance.api; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class UserAppApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-crud-rest-api-validation/src/main/java/net/alanbinu/springboot/springbootcrudrestapivalidation/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.springbootcrudrestapivalidation.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot.springbootcrudrestapivalidation.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-thymeleaf-hello-world-example/src/main/java/net/alanbinu/springboot/SpringbootThymeleafHelloWorldExampleApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootThymeleafHelloWorldExampleApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootThymeleafHelloWorldExampleApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-upload-download-file-database/src/main/java/net/alanbinu/springboot/fileuploaddownload/exception/FileStorageException.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.fileuploaddownload.exception; 2 | 3 | public class FileStorageException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public FileStorageException(String message) { 8 | super(message); 9 | } 10 | 11 | public FileStorageException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot2-logging/src/test/java/net/alanbinu/springboot2/springboot2logging/Springboot2LoggingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2logging; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2LoggingApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-propertysource-example/src/main/java/net/alanbinu/springboot2/springpropertysourceexample/Application.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springpropertysourceexample; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.context.annotation.Import; 6 | 7 | @SpringBootApplication 8 | public class Application { 9 | 10 | public static void main(String[] args) { 11 | SpringApplication.run(Application.class, args); 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /springboot-async-example/src/test/java/net/alanbinu/springboot/springbootasyncexample/SpringbootAsyncApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot.springbootasyncexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootAsyncApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-crud-hibernate-example/src/test/java/net/alanbinu/springboot/SpringbootCrudHibernateExampleApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootCrudHibernateExampleApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-testing-examples/src/main/java/net/alanbinu/springboot2/springboottestingexamples/SpringbootTestingExamplesApplication.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboottestingexamples; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootTestingExamplesApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootTestingExamplesApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/java/net/alanbinu/springbootsecurity/SpringbootThymeleafSecurityDemoApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springbootsecurity; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootThymeleafSecurityDemoApplication 8 | { 9 | public static void main(String[] args) 10 | { 11 | SpringApplication.run(SpringbootThymeleafSecurityDemoApplication.class, args); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot2-junit5-example/src/main/java/net/alanbinu/springboot2/springboot2junit5example/Springboot2Junit5ExampleApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2junit5example; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Springboot2Junit5ExampleApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Springboot2Junit5ExampleApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.data.jpa.repository.config.EnableJpaAuditing; 6 | 7 | @SpringBootApplication 8 | @EnableJpaAuditing 9 | public class Application { 10 | public static void main(String[] args) { 11 | SpringApplication.run(Application.class, args); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-2-jdbc-with-h2/src/test/java/com/alanbinu/springboot/jdbc/h2/example/SpringBoot2JdbcWithH2ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.springboot.jdbc.h2.example; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringBoot2JdbcWithH2ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring-boot-crud-rest/src/main/java/com/alanbinu/springbootcrudrest/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.springbootcrudrest.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.web.bind.annotation.ResponseStatus; 5 | 6 | @ResponseStatus(value = HttpStatus.NOT_FOUND) 7 | public class ResourceNotFoundException extends Exception{ 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | public ResourceNotFoundException(String message){ 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot-testing-examples/src/main/java/net/alanbinu/springboot2/springboottestingexamples/repository/EmployeeRepository.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboottestingexamples.repository; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import net.alanbinu.springboot2.springboottestingexamples.model.Employee; 7 | 8 | @Repository 9 | public interface EmployeeRepository extends JpaRepository{ 10 | Employee findByFirstName(String username); 11 | } 12 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/src/main/java/net/alanbinu/springboot/fileuploaddownload/exception/FileStorageException.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot.fileuploaddownload.exception; 2 | 3 | public class FileStorageException extends RuntimeException { 4 | 5 | private static final long serialVersionUID = 1L; 6 | 7 | public FileStorageException(String message) { 8 | super(message); 9 | } 10 | 11 | public FileStorageException(String message, Throwable cause) { 12 | super(message, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/Application.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.data.jpa.repository.config.EnableJpaAuditing; 6 | 7 | @SpringBootApplication 8 | @EnableJpaAuditing 9 | public class Application { 10 | public static void main(String[] args) { 11 | SpringApplication.run(Application.class, args); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/src/test/java/net/alanbinu/springboot2/springboot2jpacrudexample/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpacrudexample; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | logging.level.org.springframework=INFO 3 | 4 | ################### DataSource Configuration ########################## 5 | spring.datasource.driver-class-name=com.mysql.jdbc.Driver 6 | spring.datasource.url=jdbc:mysql://localhost:3306/users_database 7 | spring.datasource.username=root 8 | spring.datasource.password=root 9 | 10 | ################### Hibernate Configuration ########################## 11 | 12 | spring.jpa.hibernate.ddl-auto=update 13 | spring.jpa.show-sql=true 14 | 15 | -------------------------------------------------------------------------------- /SpringBoot-MongoDB-NoSQL-CRUD/src/main/java/com/urunov/mongodb/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.urunov.mongodb.exception; 2 | 3 | import org.springframework.web.bind.annotation.ResponseStatus; 4 | import org.springframework.http.HttpStatus; 5 | 6 | @ResponseStatus(value = HttpStatus.NOT_FOUND) 7 | public class ResourceNotFoundException extends Exception{ 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | public ResourceNotFoundException(String message){ 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | ## Spring view resolver set up 2 | spring.mvc.view.prefix=/WEB-INF/jsp/ 3 | spring.mvc.view.suffix=.jsp 4 | 5 | spring.datasource.url=jdbc:mysql://localhost:3306/demo?useSSL=false 6 | spring.datasource.username=root 7 | spring.datasource.password=Mysql@123 8 | spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect 9 | spring.jpa.hibernate.ddl-auto = update 10 | 11 | spring.messages.basename=validation 12 | 13 | logging.level.root = INFO,ERROR 14 | -------------------------------------------------------------------------------- /spring-boot-2-jpa-spring-data-rest/src/main/java/com/alanbinu/springboot/jpa/spring/data/rest/example/student/StudentDataRestRepository.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.springboot.jpa.spring.data.rest.example.student; 2 | 3 | import org.springframework.data.repository.PagingAndSortingRepository; 4 | import org.springframework.data.rest.core.annotation.RepositoryRestResource; 5 | 6 | @RepositoryRestResource(path = "students", collectionResourceRel = "students") 7 | public interface StudentDataRestRepository extends PagingAndSortingRepository { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /spring-cloud-loadbalance/chatbook/src/test/java/com/alanbinu/spring/load/balance/api/ChatbookApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.alanbinu.spring.load.balance.api; 2 | 3 | import org.testng.annotations.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ChatbookApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-jpa-one-to-one-example/src/main/java/net/alanbinu/springboot/jpa/controller/ResourceNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot.jpa.controller; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.web.bind.annotation.ResponseStatus; 5 | 6 | @ResponseStatus(value = HttpStatus.NOT_FOUND) 7 | public class ResourceNotFoundException extends Exception{ 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | public ResourceNotFoundException(String message){ 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot-upload-download-file-database/src/main/java/net/alanbinu/springboot/fileuploaddownload/SpringbootUploadDownloadFileApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot.fileuploaddownload; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootUploadDownloadFileApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootUploadDownloadFileApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-jpa-swagger2/src/test/java/net/alanbinu/springboot2/springboot2jpaswagger2/Springboot2Swagger2ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2jpaswagger2; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2Swagger2ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-webapp-jsp-WAR/src/test/java/net/guides/springboot2/springboot2webappjsp/Springboot2WebappJspApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2webappjsp; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2WebappJspApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-webapp-jsp/src/test/java/net/alanbinu/springboot2/springboot2webappjsp/Springboot2WebappJspApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2webappjsp; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2WebappJspApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-webapp-thymeleaf/src/main/java/net/alanbinu/springboot2/springboot2webappthymeleaf/Springboot2WebappThymeleafApplication.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.springboot2webappthymeleaf; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Springboot2WebappThymeleafApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Springboot2WebappThymeleafApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-xml-config/src/test/java/net/alanbinu/springboot2/springboot2xmlconfig/Springboot2XmlConfigApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2xmlconfig; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2XmlConfigApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /Springboot-Registration-Project/src/main/java/spring/security/repisitory/UserRepository.java: -------------------------------------------------------------------------------- 1 | package spring.security.repisitory; 2 | 3 | import org.springframework.data.jpa.repository.JpaRepository; 4 | import org.springframework.stereotype.Repository; 5 | import spring.security.model.User; 6 | 7 | /** 8 | * @Created 29 / 04 / 2020 - 3:51 PM 9 | * @project SpringRegistor 10 | * @Author Hamdamboy 11 | */ 12 | @Repository 13 | public interface UserRepository extends JpaRepository { 14 | 15 | User findByEmail(String email); 16 | } 17 | -------------------------------------------------------------------------------- /Springboot-Security-Project/src/main/resources/templates/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
9 | 10 |
11 | 12 |
13 |

Normal page (No need login)

14 |
15 | 16 |
17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /spring covid-19/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot2-java-config/src/test/java/net/alanbinu/springboot2/springboot2javaconfig/Springboot2JavaConfigApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2javaconfig; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2JavaConfigApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-jpa-auditing/src/test/java/net/alanbinu/springboot/springboot2jpaauditing/Springboot2JpaAuditingApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot.springboot2jpaauditing; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class Springboot2JpaAuditingApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /spring covid-19/bin/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-upload-download-file-rest-api-example/src/main/java/net/alanbinu/springboot/fileuploaddownload/SpringbootUploadDownloadFileApplication.java: -------------------------------------------------------------------------------- 1 | package net.javaguides.springboot.fileuploaddownload; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootUploadDownloadFileApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootUploadDownloadFileApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.url=jdbc:postgresql://localhost:5432/employees 2 | spring.datasource.username=postgres 3 | spring.datasource.password=root 4 | spring.jpa.show-sql=true 5 | 6 | ## Hibernate Properties 7 | # The SQL dialect makes Hibernate generate better SQL for the chosen database 8 | spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect 9 | 10 | # Hibernate ddl auto (create, create-drop, validate, update) 11 | spring.jpa.hibernate.ddl-auto = update 12 | -------------------------------------------------------------------------------- /login-registration-springboot-hibernate-jsp-auth/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /springboot2-externalizing-conf-properties/src/test/java/net/alanbinu/springboot2/springboot2externalizingconfproperties/ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package net.guides.springboot2.springboot2externalizingconfproperties; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot2-mssql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.web.bind.annotation.ResponseStatus; 5 | 6 | @ResponseStatus(value = HttpStatus.NOT_FOUND) 7 | public class ResourceNotFoundException extends Exception{ 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | public ResourceNotFoundException(String message){ 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Springboot-Registration-Page/src/main/java/aspera/registration/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package aspera.registration.repository; 2 | 3 | import aspera.registration.model.User; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | import org.springframework.stereotype.Repository; 6 | 7 | /** 8 | * @Created 02 / 06 / 2020 - 2:15 PM 9 | * @project SpringRegistration 10 | * @Author Hamdamboy 11 | */ 12 | @Repository 13 | public interface UserRepository extends JpaRepository { 14 | 15 | User findByEmail(String email); 16 | } 17 | -------------------------------------------------------------------------------- /spring covid-19/src/main/java/io/alanbinu/coronavirustracker/CoronavirusTrackerApplication.java: -------------------------------------------------------------------------------- 1 | package io.alanbinu.coronavirustracker; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.scheduling.annotation.EnableScheduling; 6 | 7 | @SpringBootApplication 8 | @EnableScheduling 9 | public class CoronavirusTrackerApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(CoronavirusTrackerApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot-thymeleaf-security-demo/src/main/resources/static/assets/font-awesome-4.5.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /springboot2-postgresql-jpa-hibernate-crud-example/src/main/java/net/alanbinu/springboot2/crud/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- 1 | package net.alanbinu.springboot2.crud.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | import org.springframework.web.bind.annotation.ResponseStatus; 5 | 6 | @ResponseStatus(value = HttpStatus.NOT_FOUND) 7 | public class ResourceNotFoundException extends Exception{ 8 | 9 | private static final long serialVersionUID = 1L; 10 | 11 | public ResourceNotFoundException(String message){ 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot-multiple-datasources/src/main/resources/security-data.sql: -------------------------------------------------------------------------------- 1 | delete from addresses; 2 | delete from users; 3 | 4 | insert into users(id, name, email,disabled) values(1,'Alan','alan@gmail.com', false); 5 | insert into users(id, name, email,disabled) values(2,'john','john@gmail.com', false); 6 | insert into users(id, name, email,disabled) values(3,'Salman','salman@gmail.com', true); 7 | 8 | insert into addresses(id,city,user_id) values(1, 'City1',1); 9 | insert into addresses(id,city,user_id) values(2, 'City2',1); 10 | insert into addresses(id,city,user_id) values(3, 'City3',2); 11 | --------------------------------------------------------------------------------