Chapter 04: Developing a Spring Boot Application: Difference between revisions

Line 89: Line 89:
'''Step 3: Add Dependencies'''
'''Step 3: Add Dependencies'''


Click “ADD DEPENDENCIES” and search for: - Spring Web - Spring Data JPA - PostgreSQL Driver - Spring Boot DevTools - Spring Boot Actuator
Click “ADD DEPENDENCIES” and search for:  
 
* Spring Web  
* Spring Data JPA  
* PostgreSQL Driver  
* Spring Boot DevTools  
* Spring Boot Actuator


'''Step 4: Generate and Extract''' 1. Click “GENERATE” to download the ZIP file 2. Extract to your projects directory 3. Open in IntelliJ IDEA: File → Open → Select the extracted folder
'''Step 4: Generate and Extract''' 1. Click “GENERATE” to download the ZIP file 2. Extract to your projects directory 3. Open in IntelliJ IDEA: File → Open → Select the extracted folder
Line 113: Line 119:
cd my-first-app</syntaxhighlight>
cd my-first-app</syntaxhighlight>
<span id="understanding-the-generated-project-structure"></span>
<span id="understanding-the-generated-project-structure"></span>
=== Understanding the Generated Project Structure ===
=== Understanding the Generated Project Structure ===