Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.1 KB

README.md

File metadata and controls

41 lines (36 loc) · 1.1 KB

Spring-Boot Workshop

by Merve Sahin

During this workshop you will get to learn how to:

  • bind your Java Models to the client using Thymeleaf
  • deal with forms using Rest + make ajax calls
  • enhance security with Spring Security
  • bind and query your database using Spring Data JPA
  • create integration tests with MockMvc

Prerequisites:

1. Install the following plugin in Netbeans: NB Spring Boot

2. We will use Docker to setup the database.

Check whether docker is running:  

$ docker info

  In case it cannot connect to the Docker daemon, start the service in Linux:

$ sudo service docker start

in Windows powershell:

restart-service *docker*

  in MacOS

$ docker-machine start

3. Build an image from the Dockerfile with the following command:

$ docker build -t spring-boot-workshop .

4. Run docker image:

$ docker run -p 5443:5432 spring-boot-workshop