');mask-image:url('data:image/svg+xml;utf8, ');content:"";margin:0 .4rem;display:inline-block;vertical-align:middle;line-height:1}.breadcrumb-trail .trail-items li:last-child:after{display:none}.bloglo-breadcrumbs{font-size:1.4rem;border-width:0}#bloglo-copyright .bloglo-flex-row>div:empty{display:none}#bloglo-copyright>.bloglo-container>.bloglo-flex-row>div{width:auto;padding-top:.6rem;padding-bottom:.6rem}.bloglo-copyright-layout-1 #bloglo-copyright>.bloglo-container>.bloglo-flex-row>div{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#bloglo-scroll-top{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:fixed;bottom:2.5rem;right:2rem;z-index:997;width:4rem;height:4rem;opacity:0;-webkit-transform:translate3d(0,3rem,0);transform:translate3d(0,3rem,0)}#bloglo-scroll-top .bloglo-scroll-icon{overflow:hidden;z-index:2}#bloglo-scroll-top .bloglo-icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:2rem;color:var(--bloglo-white);-webkit-transform:translateY(1.1rem);-ms-transform:translateY(1.1rem);transform:translateY(1.1rem)}#bloglo-scroll-top:before{content:"";z-index:1;border-radius:10rem;background-color:var(--bloglo-primary);-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);border:.1rem solid rgba(190,190,190,.3)}#bloglo-scroll-top svg{fill:var(--bloglo-white)}.widget.bloglo-entry .textwidget>p:first-child{margin-top:0}.bloglo-widget.widget:not(.widget_text):not(.hester-core-custom-list-widget) ul{list-style:none;margin-left:0;margin-right:0}#main .bloglo-widget{margin-bottom:4rem}.widget-title{margin-top:0;position:relative;display:block;margin-bottom:1.8rem}.widget ul{line-height:1.5}.widget ul:last-child{margin-bottom:0}.widget ul:not(.wp-block-social-links) li{margin-bottom:1rem}.widget ul:not(.wp-block-social-links) li:last-child{margin-bottom:0}.widget.bloglo-entry p{margin-top:1.6rem;margin-bottom:1.6rem}.widget.bloglo-entry p:last-child{margin-bottom:0}.bloglo-sidebar-container .widget ul:not(.bloglo-socials-menu)>li:not(:first-child){padding-top:1rem;border-top:.1rem solid rgba(190,190,190,.3)}.widget.widget_recent_entries a{display:block}.widget.widget_recent_entries>ul>li{margin-bottom:2rem}.widget.widget_recent_entries>ul>li>a{margin-bottom:.6rem;font-weight:600}.bloglo-entry>:first-child{margin-top:0}.bloglo-entry>:last-child{margin-bottom:0}.bloglo-entry ul{list-style:disc}.bloglo-entry ul{margin-left:4rem}.bloglo-entry ul:not(.wp-block-social-links) li:not(.blocks-gallery-item):last-child{margin-bottom:0}.bloglo-entry p{margin-bottom:1.5rem;margin-top:1.5rem}.bloglo-entry ul{margin-bottom:2rem;margin-top:2rem}.author-avatar img{border-radius:var(--bloglo-full-radius);width:3rem;vertical-align:middle;margin-right:.8rem;display:inline-block}#main .content-area .entry-meta a{color:inherit}.entry-meta{font-size:1.4rem;margin-top:1.2rem}.entry-meta .bloglo-icon{height:1.827rem;margin-right:.7rem;vertical-align:text-bottom}.entry-meta .entry-meta-elements>span{padding:0 1.1rem;line-height:1.2}.entry-meta .entry-meta-elements>span,.entry-meta .entry-meta-elements>span .posted-by{-js-display:inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.entry-meta .entry-meta-elements>span:first-child{padding-left:0}.entry-meta .entry-meta-elements>span:last-child{margin-right:0;padding-right:0}.entry-meta .entry-meta-elements>span:before{content:"";height:1.6rem;width:.1rem;background-color:rgba(0,0,0,.25);position:relative;left:-1.1rem}.entry-meta .entry-meta-elements>span:first-child:before{display:none}.single .entry-footer{margin-top:4rem}.single .entry-footer .post-tags{margin-right:auto;padding-right:2rem}.single-post .entry-content{margin-top:4rem}.single .post-tags{margin-bottom:-.5rem}.single .post-tags .cat-links{display:inline-block}.single .post-category{margin-bottom:.3rem;font-size:1.4rem}.single .post-category a{-js-display:inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-weight:500;padding:.6rem 1rem;line-height:1;border-radius:var(--bloglo-normal-radius);text-decoration:none;margin:0 .4rem .8rem}.single .post-category a{border-width:.2rem;border-style:solid}.single .post-category a:first-of-type{margin-left:0}.single .entry-header{text-align:left;margin-bottom:1rem}.single .entry-meta{text-align:left;margin-top:1.6rem}.single .entry-content{margin-bottom:5rem}.single .entry-content>:last-child{margin-bottom:0!important}#main .post-tags a{color:inherit}.single .post-tags a{display:block;float:left;text-transform:none;letter-spacing:0;border-radius:var(--bloglo-full-radius);padding:.8rem 1.4rem;margin:.8rem .8rem 0 0;background-color:rgba(190,190,190,.12);border:.1rem solid rgba(190,190,190,.3);line-height:1;font-size:1.3rem}.single .post-tags a:after{display:none!important}.single.bloglo-page-title-align-left .bloglo-article>.entry-header,.single.bloglo-page-title-align-left .bloglo-article>.post-category{text-align:left}.single.bloglo-page-title-align-left .bloglo-article>.entry-meta>.entry-meta-elements{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}#main .author-box-title a{color:inherit}.author-box{-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:4rem;margin:3rem auto}.author-box .author-box-avatar,.author-box .author-box-meta{min-width:0;min-height:0}.author-box .author-box-avatar{-ms-flex-item-align:start;align-self:flex-start;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;margin-right:2.5rem}.author-box .author-box-avatar img{display:block;border-radius:50%}.author-box .author-box-meta{-ms-flex-negative:1;flex-shrink:1;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.author-box .author-box-title{margin-top:0;margin-bottom:.8rem}.author-box .author-box-content{line-height:1.6}.author-box .more-posts-button{margin-top:1.6rem}#cancel-comment-reply-link{font-size:1.3rem;border-radius:var(--bloglo-normal-radius);border:.2rem solid currentColor;font-weight:500;padding:.4rem .7rem;line-height:1;text-decoration:none;text-transform:capitalize;margin-left:1.4rem;color:inherit}.comment-form>p{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:0;margin-bottom:.8em}.comment-form textarea{height:19.2rem}button.bloglo-animate-arrow{-webkit-appearance:none;border:none;-webkit-box-shadow:none;box-shadow:none;background:0 0;outline:none}.bloglo-animate-arrow .arrow-bar{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0)}.bloglo-animate-arrow svg{vertical-align:middle}.bloglo-animate-arrow.right-arrow svg{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.bloglo-animate-arrow.right-arrow .arrow-bar{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.bloglo-animate-arrow.right-arrow .arrow-handle{-webkit-transform:translateX(.6rem);-ms-transform:translateX(.6rem);transform:translateX(.6rem)}.bloglo-hamburger{padding:0;display:inline-block;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible}.hamburger-box{width:2.5rem;height:1.4rem;display:inline-block;position:relative}.hamburger-inner{display:block;top:50%;margin-top:-.1rem}.hamburger-inner,.hamburger-inner:before,.hamburger-inner:after{width:2.8rem;height:2px;background-color:#232323;border-radius:var(--bloglo-normal-radius);position:absolute}.hamburger-inner:before,.hamburger-inner:after{content:"";display:block}.hamburger-inner:before{top:-5px}.hamburger-inner:after{bottom:-5px}.bloglo-mobile-nav{display:none;margin-left:2.4rem}.bloglo-hamburger,.bloglo-mobile-nav{-webkit-box-align:center;-ms-flex-align:center;align-items:center}body:not(.is-mobile-menu-active) .bloglo-hamburger .hamburger-box .hamburger-inner:before{width:1.5rem}.bloglo-hamburger{-js-display:inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--bloglo-normal-radius)}.bloglo-hamburger .hamburger-inner,.bloglo-hamburger .hamburger-inner:before,.bloglo-hamburger .hamburger-inner:after{background-color:currentColor}button.bloglo-hamburger{outline:none}#bloglo-header:after{content:"";position:fixed;top:100%;left:0;right:0;height:100vh;background-color:rgba(255,255,255,.85);z-index:991;opacity:0;visibility:hidden;will-change:opacity,visibility;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}@media only screen and (min-width:600px){.site .bloglo-flex-row .start-sm{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:left}.site .bloglo-flex-row .end-sm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end;margin-left:auto}}@media only screen and (min-width:783px){.site .bloglo-flex-row .col-md{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1;max-width:100%;-ms-flex-preferred-size:0;flex-basis:0}.site .bloglo-flex-row .col-md.flex-basis-auto{-ms-flex-preferred-size:auto;flex-basis:auto}.site .bloglo-flex-row .end-md{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end;margin-left:auto}}@media screen and (max-width:768px){.bloglo-hide-mobile-tablet{display:none!important}.bloglo-container{padding:0 3rem}.bloglo-header-widgets .bloglo-header-widget,.bloglo-header-widgets .bloglo-header-widget.bloglo-header-widget__button{padding-left:1rem;padding-right:1rem}.bloglo-mobile-nav{margin-left:1.6rem}}@media screen and (max-width:599px){#bloglo-header-inner .bloglo-widget-wrapper,.bloglo-header-element,.bloglo-header-widgets .bloglo-header-widget{position:static}.bloglo-header-widgets .dropdown-item:after{display:none}.author-avatar img{display:none}.single .entry-footer{display:block}.author-box{padding:2.5rem}.author-box .author-box-avatar{display:none}}@media screen and (max-width:480px){.bloglo-hide-mobile{display:none!important}#page{min-height:-webkit-fill-available}}@media screen and (max-width:960px){#bloglo-topbar>.bloglo-container>.bloglo-flex-row>div .bloglo-topbar-widget{padding-top:.6rem;padding-bottom:.6rem}#bloglo-topbar .bloglo-topbar-widget{padding-left:.8rem;padding-right:.8rem}#main>.bloglo-container{display:block}#primary{max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-top:4rem}.site-main #secondary{width:100%;margin-top:4rem}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.site .bloglo-flex-row:after{content:"";display:block;min-height:inherit;font-size:0}.bloglo-btn{height:1rem}#main>.bloglo-container #primary{-ms-flex-preferred-size:0%;flex-basis:0%}}.bloglo-btn{background-color:var(--bloglo-primary)}.bloglo-topbar-widget__text a,.bloglo-social-nav>ul>li>a .bloglo-icon.bottom-icon,.single .post-category a,#bloglo-topbar .bloglo-topbar-widget__text .bloglo-icon{color:var(--bloglo-primary)}.single .post-category a{border-color:var(--bloglo-primary)}#masthead .bloglo-header-widgets .dropdown-item:after{border-bottom-color:var(--bloglo-primary);outline:none!important}.bloglo-header-widgets .dropdown-item{border-top-color:var(--bloglo-primary)}::-webkit-selection{background-color:var(--bloglo-primary);color:var(--bloglo-white)}*{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}::-webkit-scrollbar{width:.7rem;height:.7rem}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2)}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.4)}a.bloglo-btn span{vertical-align:baseline}@media (prefers-reduced-motion:reduce){*{animation-duration:0s!important}}[data-theme=dark]{--bloglo-white:#333;--bloglo-secondary:#fff !important}[data-theme=dark] select option{background:rgba(0,0,0,.3);color:#fff}[data-theme=dark] #bloglo-scroll-top svg{fill:#fff}[data-theme=dark] #comments a,[data-theme=dark] .bloglo-header-widgets .bloglo-search-simple .bloglo-search-form button:not(.bloglo-search-close),[data-theme=dark] #bloglo-header,[data-theme=dark] .bloglo-header-widgets a:not(.bloglo-btn),[data-theme=dark] .bloglo-logo a,[data-theme=dark] .bloglo-hamburger,[data-theme=dark] h1,[data-theme=dark] .h4,[data-theme=dark] body,[data-theme=dark] #bloglo-header .bloglo-nav li>a{color:#fff}[data-theme=dark] .bloglo-btn.btn-text-1,[data-theme=dark] .btn-text-1,[data-theme=dark] .entry-meta{color:rgba(255,255,255,.7)}[data-theme=dark] .entry-meta .entry-meta-elements>span:before{background-color:rgba(255,255,255,.25)}[data-theme=dark] #bloglo-topbar,[data-theme=dark] #bloglo-header-inner{border-color:rgba(255,255,255,.08)}html[data-theme=dark] body,[data-theme=dark] #bloglo-header-inner{background:#333}[data-theme=dark] .bloglo-btn.btn-text-1>span:before{background-color:#fff}@media screen and (max-width:1024px){[data-theme=dark] #bloglo-header-inner .site-navigation>ul li{border-bottom-color:rgba(255,255,255,.08)}[data-theme=dark] #bloglo-header-inner .site-navigation{background:#333}[data-theme=dark] #bloglo-header-inner .bloglo-nav{color:rgba(255,255,255,.7)}}:root{--bloglo-primary:#50ce52;--bloglo-primary_15:#6bd66c;--bloglo-primary_27:rgba(80,206,82,.27);--bloglo-primary_09:rgba(80,206,82,.09);--bloglo-primary_04:rgba(80,206,82,.04)}#bloglo-topbar{background:#30373e}#bloglo-topbar{border-color:rgba(0,0,0,.085);border-style:solid;border-bottom-width:1px}.bloglo-topbar-widget:after{background-color:#ccc}#bloglo-topbar{color:#fff}.bloglo-topbar-widget__text a,#bloglo-topbar .bloglo-topbar-widget__text .bloglo-icon{color:#fff}#bloglo-header-inner{background:#fff}#bloglo-header,.bloglo-header-widgets a:not(.bloglo-btn),.bloglo-logo a,.bloglo-hamburger{color:#30373e}#bloglo-header-inner{border-color:rgba(39,39,39,.75)}.bloglo-header-widget:after{background-color:#ccc}@media screen and (max-width:1024px){#bloglo-header-inner .bloglo-nav{display:none;color:#000}.bloglo-mobile-nav{display:inline-flex}#bloglo-header-inner{position:relative}#bloglo-header-inner .bloglo-nav>ul>li>a{color:inherit}#bloglo-header-inner .site-navigation{display:none;position:absolute;top:100%;width:100%;height:100%;min-height:100vh;left:0;right:0;margin:-1px 0 0;background:#fff;border-top:1px solid #eaeaea;box-shadow:0 15px 25px -10px rgba(50,52,54,.125);z-index:999;font-size:1.7rem;padding:0}#bloglo-header-inner .site-navigation>ul{overflow-y:auto;max-height:68vh;display:block}#bloglo-header-inner .site-navigation>ul>li>a{padding:0!important}#bloglo-header-inner .site-navigation>ul li{display:block;width:100%;padding:0;margin:0;margin-left:0!important}#bloglo-header-inner .site-navigation>ul a{padding:0;position:relative;background:0 0}#bloglo-header-inner .site-navigation>ul li{border-bottom:1px solid #eaeaea}#bloglo-header-inner .site-navigation>ul>li:last-child{border-bottom:0}#bloglo-header-inner .site-navigation>ul a>span{padding:10px 30px!important;width:100%;display:block}#bloglo-header-inner .site-navigation>ul a>span:after,#bloglo-header-inner .site-navigation>ul a>span:before{display:none!important}}.bloglo-nav.bloglo-header-element,.bloglo-header-layout-2 .bloglo-header-widgets{font-size:1.7rem}#secondary{width:30%}body:not(.bloglo-no-sidebar) #primary{max-width:70%}body{color:#212121}:root{--bloglo-secondary_38:#212121}.entry-meta{color:#212121}#content textarea{background-color:}.bloglo-sidebar-style-3 #secondary .bloglo-widget{border-color:}.entry-meta .entry-meta-elements>span:before{background-color:}h1,.h4{color:#333}:root{--bloglo-secondary:#333}.bloglo-container{max-width:1420px}.bloglo-logo img{max-height:60px}.bloglo-logo .logo-inner{margin-top:25px;margin-right:3px;margin-bottom:25px}@media only screen and (max-width:768px){.bloglo-logo .logo-inner{margin-top:25px;margin-right:1px;margin-bottom:25px}}.bloglo-breadcrumbs{padding-top:15px;padding-bottom:15px}.bloglo-breadcrumbs{background:#fff9f3}.bloglo-breadcrumbs{border-color:#ffe7d2;border-style:solid;border-top-width:1px;border-bottom-width:1px}html{font-size:62.5%}@media only screen and (max-width:768px){html{font-size:53%}}@media only screen and (max-width:480px){html{font-size:50%}}*{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}body{font-weight:400;font-family:"Be Vietnam Pro",Helvetica,Arial,sans-serif;font-size:1.5rem;line-height:1.75}h1,.h4{font-weight:700;font-style:normal;text-transform:none;text-decoration:none}h1{font-weight:700;font-size:4rem;line-height:1.1}.h4{font-weight:700;font-size:2.4rem;line-height:1.2}#main .widget-title{font-size:1.8rem}.bloglo-btn{color:#fff;border-color:var(--bloglo-primary);border-width:.1rem}.bloglo-btn{font-weight:500;font-family:"Plus Jakarta Sans",Helvetica,Arial,sans-serif;font-size:1.8rem;line-height:1.6}.bloglo-btn.btn-text-1,.btn-text-1{color:#212121}.bloglo-btn.btn-text-1>span:before{background-color:#50ce52}.bloglo-btn.btn-text-1>span:before{background-color:#1e293b}.bloglo-btn.btn-text-1,.btn-text-1{font-weight:500;font-family:"Plus Jakarta Sans",Helvetica,Arial,sans-serif;font-size:1.6rem;line-height:1.5}.lazyload{opacity:0}.lazyload{--smush-placeholder-width:100px;--smush-placeholder-aspect-ratio:1/1;width:var(--smush-placeholder-width)!important;aspect-ratio:var(--smush-placeholder-aspect-ratio)!important}:root{--wpforms-field-border-radius:3px;--wpforms-field-border-style:solid;--wpforms-field-border-size:1px;--wpforms-field-background-color:#fff;--wpforms-field-border-color:rgba(0,0,0,.25);--wpforms-field-border-color-spare:rgba(0,0,0,.25);--wpforms-field-text-color:rgba(0,0,0,.7);--wpforms-field-menu-color:#fff;--wpforms-label-color:rgba(0,0,0,.85);--wpforms-label-sublabel-color:rgba(0,0,0,.55);--wpforms-label-error-color:#d63637;--wpforms-button-border-radius:3px;--wpforms-button-border-style:none;--wpforms-button-border-size:1px;--wpforms-button-background-color:#066aab;--wpforms-button-border-color:#066aab;--wpforms-button-text-color:#fff;--wpforms-page-break-color:#066aab;--wpforms-background-image:none;--wpforms-background-position:center center;--wpforms-background-repeat:no-repeat;--wpforms-background-size:cover;--wpforms-background-width:100px;--wpforms-background-height:100px;--wpforms-background-color:rgba(0,0,0,0);--wpforms-background-url:none;--wpforms-container-padding:0px;--wpforms-container-border-style:none;--wpforms-container-border-width:1px;--wpforms-container-border-color:#000;--wpforms-container-border-radius:3px;--wpforms-field-size-input-height:43px;--wpforms-field-size-input-spacing:15px;--wpforms-field-size-font-size:16px;--wpforms-field-size-line-height:19px;--wpforms-field-size-padding-h:14px;--wpforms-field-size-checkbox-size:16px;--wpforms-field-size-sublabel-spacing:5px;--wpforms-field-size-icon-size:1;--wpforms-label-size-font-size:16px;--wpforms-label-size-line-height:19px;--wpforms-label-size-sublabel-font-size:14px;--wpforms-label-size-sublabel-line-height:17px;--wpforms-button-size-font-size:17px;--wpforms-button-size-height:41px;--wpforms-button-size-padding-h:15px;--wpforms-button-size-margin-top:10px;--wpforms-container-shadow-size-box-shadow:none}
Build Spring Boot project – Friendzworld
Skip to content
Posted by
By
Rajesh
August 24, 2020 Microservices are built with REST APIs, and the significant reason is that they help in building loosely coupled services. Spring Boot provides the flexibility to create REST APIs quickly, which are exposed as various services.
Spring Boot Framework is quite flexible while working with SQL database. You can use direct JDBC calls using JDBC templates, or you can go by implementing hibernate. One more significant option that Spring framework offers is by creating repositories for Spring Data implementation
Spring Boot provides an option of an embedded in-memory database. This has no persistent data storage. You can retain the data as long as the application is up and running.
Steps to build a simple Spring boot application:
Generate a quick Java project with Maven command. Update pom.xml with the Spring web and other Spring boot dependencies. Add SpringApplication.run() method to bootstrap Spring application. Do a Maven clean build using mvn clean package command. Execute command mvn spring-boot:run to run the application. <dependency> <groupid>org.springframework.boot</groupid> <artifactid>spring-boot-starter-data-jpa</artifactid> </dependency>
<dependency>
<groupid>org.hsqldb</groupid>
<artifactid>hsqldb</artifactid>
<scope>runtime</scope>
</dependency>
Some Technical Question and Answers :
Which is the default logging file in springboot? spring.log What is default HTML template engine in spring boot? Thymeleaf What is the Annotation used to handle GET request? @GetMapping What is the Annotation used for Rest controller? @RestController What is the prefix used in HTML for Thymeleaf? th: What is the Minimum Java version need for Spring boot? Java 8 Which of the following can be used for Dependency managment in spring boot? Maven & Gradle
Scroll to Top