First application: bsc1

I created a Spring Boot application, choosing: h2, JDBC and Web.

I’m going to use Profiles as a program argument, leaving the dev as application.properties, then changing out for application-test.properties and using
–spring.profiles.active=test in the Run Configuration.

I’ve hooked it up to the remote repository on GitHub, and am working on the ‘initial’ branch.

I’ve opened it up in the Git window of STS, but I’m using GitHub Desktop to manage commits with help from the command window (as I got into a pickle and had /project/project and couldn’t see anything!)

Anyway… up and running now.

I’m following on 2x speed the O’Reilly Introduction to Spring Boot course with Kevin Bowersox to make a CRUD application.

The Spring in Action 5 book is out next week building a Taco application, so I’d like to make mine first, then make that and apply it to my project as I’m going along. I want a super project in the end full of notes 🙂

I’ve started looking at the tutorial again and he’s using Thymeleaf, then Mustache. Now, in my past I used JSP and this is still used, however, there’s all this new JavaScript stuff with Angular and React too. Spring say that there are known limitations of using JSP in embedded servlet containers. Fair enough then. I found a Spring tutorial:

https://spring.io/guides/tutorials/spring-security-and-angular-js/

And I found a few templating engine examples:

https://www.baeldung.com/spring-template-engines

Hmmm… what to do….

I think I’ll follow the O’Reilly tutorial first, then create a new branch to test out the other front-ends. I’m doing an Angular Live Online Training next week, so maybe I can wrap up the front-end exploration with that and have some great examples 🙂

Leave a comment