Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 2 KB

README.adoc

File metadata and controls

84 lines (59 loc) · 2 KB

Spring Boot Tutorial

Welcome to the Spring Boot tutorial!

What this tutorial is for

This tutorial will cover:

  • the basics of setting up a new Spring Boot project

  • walking through a sample Spring Boot application

  • understanding package structures

  • unit testing with Spring Boot

  • exposing a RESTful API with Spring Boot.

Project setup

Project pre-requisites

  1. JDK 11

  2. A modern IDE (IntelliJ IDEA or Eclipse or Netbeans)

  3. Apache Maven v3.6.3 or above

Project Tree

.
|____README.adoc            <----- This file
|
|____assets
| |____images               <----- Images used in the documentation
| |____docs                 <----- Tutorial documentation
|
|____todo
| |____pom.xml              <----- Apache Maven POM to build the app
| |____src
| | |____main
| | | |____java             <----- Main code
| | | |____resources        <----- Main resources
| | |____test
| | | |____java             <----- Test code
| | | |____resources        <----- Test resources

Setting up in an IDE

The project can be loaded into an IDE as a single structure. Setup the project as:

  1. Set up your IDE to use JDK 11 or above

  2. Import or open the project from the pom.xml under the Spring Boot todo directory.


Tutorial

Tutorial
Figure 1. Spring Boot Tutorial