The codeįirst off, we’ll start with lines 38–43. From the dependencies, choose Web, JPA and H2. Set the group and artefact of your choice (I did group=codemwnci, artefact=kotlinspringboot). and choose to genereate a Maven project, with Kotlin and I chose SpringBoot 2. To get us up and running far quicker, I suggest you just go to. ![]() All I am going to do in this part is to replace what we did in Part 1 and build our REST endpoints in SpringBoot. I am not going to go back over, the concepts that were covered in Part 1, or Part 2, you can welcome to click back and read. ![]() ![]() One of the main questions I have had since is, why SparkJava and not SpringBoot? Well, I believe it is a matter of preference, but both a valid and capable options…but for completeness, I decided to write a quick implementation using SpringBoot. For it, I decided to use SparkJava to serve the REST endpoints, and VueJS for the front end. Using SpringBoot instead of SparkJava for the Web FrameworkĪ few weeks back, I wrote a two-part series on creating a Web App using Kotlin.
0 Comments
Leave a Reply. |