Link to slides - https://github.com/asusoda/springboot-workshop/blob/master/Springboot%20Workshop.pdf
- Go to https://start.spring.io/
- Click on "Add Dependencies" and add "Spring Web"
- Click on "Generate"
- Download the zip file and extract it
- Open the project in your IDE
git clone https://github.com/asusoda/springboot-workshop.git
And then, open the project in your IDE
./mvnw spring-boot:run
curl --location 'http://localhost:8080/user'
curl --location 'http://localhost:8080/user' \
--header 'Content-Type: application/json' \
--data '{
"asurite": "sparky",
"name": "Sun Devil",
"number": "3689071223"
}'
curl --location --request PUT 'http://localhost:8080/user/sparky' \
--header 'Content-Type: application/json' \
--data '{
"name": "Sparky the Sun-Devil",
"number": "3689071223"
}'
curl --location --request DELETE 'http://localhost:8080/user' \
--header 'Content-Type: application/json' \
--data '{
"asurite": "sparky"
}'