- Hands-On Full Stack Development with Spring Boot 2 and React(Second Edition)
- Juha Hinkula
- 273字
- 2021-06-24 14:03:24
Creating a project with Spring Initializr
We will create our backend project with Spring Initializr, which is a web-based tool that's used to create Spring Boot projects. Spring Initializr 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, which will also become a base package in our Java project. In the Artifact field, we will define the artifact ID, which 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 the available dependencies by clicking on the See all 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 the Spring Boot development tools, which 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 click on the Generate Project button, which generates the project starter ZIP package for us.
- RCNP實驗指南:構(gòu)建高級的路由互聯(lián)網(wǎng)絡(BARI)
- 光網(wǎng)絡評估及案例分析
- PLC、現(xiàn)場總線及工業(yè)網(wǎng)絡實用技術(shù)速成
- 計算機網(wǎng)絡與通信(第2版)
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡
- C/C++串口通信:典型應用實例編程實踐
- 通信原理及MATLAB/Simulink仿真
- Windows Server 2012 Hyper-V虛擬化管理實踐
- 端到端QoS網(wǎng)絡設計
- 深入理解Nginx:模塊開發(fā)與架構(gòu)解析
- 物聯(lián)網(wǎng)
- 新媒體交互藝術(shù)
- 移動互聯(lián)網(wǎng)環(huán)境下的核心網(wǎng)剖析及演進
- 物聯(lián)網(wǎng)傳感器技術(shù)與應用
- 巧學活用CISCO網(wǎng)絡典型配置