Spring boot is a stand alone back-end java framework. Easy to developing a web application projects along with the microservices.it consist of dependencies for easy to manage the project works.
Go to google type spring initializr.
Select Maven Project and Language Java
Spring boot Select as Lowest one it is good.
so this example selected as 2.6.11
Java version also select as lowest one it will be best practice here selected as Java 8
you must install java 8 in your computer.if you install upper version no problem select the corresponding version. But lowest one is best i recommend.
After that add the Following Dependencies.
Spring Data JPA
MySQL Driver
Spring Web
After that click Generate.
How to open the Project i attached the video below.it will help you to open the project.
open the pom.xml file you can see the all the Dependencies what you added.
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency>
application.properties
spring.application.name=firstapp server.port=8083 spring.jpa.hibernate.ddl-auto=update spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3307/lmsschool?createDatabaseIfNotExist=true spring.datasource.username=root spring.datasource.password=root #jpa vendor adapter configuration spring.jpa.database-platform=org.hibernate.dialect.MySQL57Dialect spring.jpa.generate-ddl=true spring.jpa.show-sql=true
This article explain how to make a Fish Inventory Management App in Angular.this app explain…
Introduction to Fish Inventory Management In the aquaculture industry, managing fish inventory is crucial for…
Introduction to Java GUI CRUD Java is a powerful programming language widely used for building…
Introduction to Login Form Design Designing an effective and beautiful login form is crucial for…
Introduction In today creating a responsive login form is essential for providing a seamless user…
Introduction to Inventory Management Systems In today's fast-paced digital environment, businesses require efficient inventory management…