- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Juha Hinkula
- 274字
- 2021-06-25 21:00:21
Creating the project with Spring Initializr
We will create our backend project with Spring Intializr, that is a web-based tool that's used to create Spring Boot projects. Spring Intializr can be found at https://start.spring.io:

We will generate a Maven project with Java and the latest Spring Boot version. In the Group field, we will define our group ID, that will also become a base package in our Java project. In the Artifact field, we will define the artifact ID, that will also be the name of our project in Eclipse.
In the Dependencies section, we will select the starters and dependencies that are needed in our project. Spring Boot provides starter packages that simplify your Maven configuration. Spring Boot starters are actually a set of dependencies that you can include in your project. You can either type the keyword of the dependency into the search field, or you can see all available dependencies by clicking on the Switch to the full version link. We will start our project by selecting two dependencies—Web and DevTools. You can type the dependencies into the search field or switch to the full version and see all the starter packages and dependencies available:

The DevTools dependency provides us with Spring Boot development tools, that provide automatic restart functionality. It makes development much faster because the application is automatically restarted when changes have been saved. The web starter pack is a base for full-stack development and provides embedded Tomcat.
Finally, you have to press the Generate Project button and that generates the project starter ZIP package for us.
- C#完全自學教程
- Software Testing using Visual Studio 2012
- INSTANT CakePHP Starter
- Spring Boot進階:原理、實戰與面試題分析
- 21天學通C++(第5版)
- 軟件體系結構
- JavaScript程序設計:基礎·PHP·XML
- Mastering Concurrency Programming with Java 9(Second Edition)
- Java EE Web應用開發基礎
- ABAQUS6.14中文版有限元分析與實例詳解
- OpenCV 3.0 Computer Vision with Java
- Oracle Database XE 11gR2 Jump Start Guide
- Deep Learning for Natural Language Processing
- Data Manipulation with R(Second Edition)
- 小學生C++趣味編程從入門到精通