First thing we'll do is create a spring backend app
mkdir backend1 && cd backend2
curl https://start.spring.io/starter.tgz -d style=web -d style=security -d name=ui | tar -xzvf -
mkdir backend1 && cd backend1
curl https://start.spring.io/starter.tgz -d style=web -d name=backend1 -d | tar -xzvf -
mkdir backend2 && cd backend2
curl https://start.spring.io/starter.tgz -d style=web -d style=security -d name=backend2 | tar -xzvf -