Hopefully you have been following along, and you have built a working ToDo List API, fully database backed, and with a robust unit testing framework in place too. If not, you may want to go back to Part 1.
Let’s finish the whole thing off with a front end to make it a complete application.
Just like I didn’t try to explain the background of Quarkus, I am not going to explain SvelteJS either. If you want to read about it, just head over to svelte.dev to read all about it. However, what I like about Svelte is that it…
Now that we have completed the first part of our application, we will now update it to replace our ArrayList data source with a database. If you haven’t read part 1, go back and read that first, as this section may not make as much sense!
First up, let’s update our POM.xml file to bring in the new dependencies that we are going to need.
This will be a 3 part series demonstrating how to build a Quarkus application, using Kotlin. In part 3, we will put a front end on to our application, which will be written in SvelteJS.
This blog series will be broken down into the following sections.
I am going to assume you already know what Quarkus is. If you don’t, head over to the Quarkus.io homepage and have…
Just jump to the Dockerfile code, the comments hopefully make it self explanatory. It is a multi-stage Dockerfile that builds using a Maven Image and then runs using a Java image.
I have been developing with Kotlin for a while now, but these have all been for personal projects. I decided it was time I learned how to use Docker, especially as I am getting more and more into Google Cloud and want to explore using Kubernetes Engine. …
Exploring GAE and GCE to deploy my Kotlin App.
Before I jump in to the short journey I went through in selecting the right GCP product for my Kotlin app, I should explain a little about my use case, so that you can understand whether my experience matches your own. I am a firm believer that in technology, software especially, there is no one size fits all, so I don’t want to direct you to a particular route if it doesn’t fit with your needs.
To explain then. I have hosted a small Chrome extension that collects a small amount…
For my latest Blog post, I have decided to continue the Kotlin theme, and this time explore SpringBoot further by revisiting the WebSocket Chat Application example that I started with many months, but converting it from SparkJava to SpringBoot. Whilst I personally find SparkJava very expressive and simple to use, Spring as a community has a very strong following, but I have found very little information on Kotlin and Websockets using Spring. This post is an attempt to rectify that.
First off, I should point out that there are two methods of implementing WebSockets in SpringBoot. This first, and the…
A few weeks back, I wrote a two-part series on creating a Web App using Kotlin. For it, I decided to use SparkJava to serve the REST endpoints, and VueJS for the front end. 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.
In part 1 we created the REST backend for our TodoList App. Now, in part 2, we will complete the app by creating the VueJS front end.
Most of the setup is already done; we have our server via SparkJava, and we have created the
/public folder and specified in SparkJava that is where our static resources are loaded from, all we have to do now is create an HTML file. So let’s go ahead and create an
index.html file in
Most of this is standard HTML, the things of note are:
Not so long ago, I wrote a piece on creating a Websocket chat implementation using Kotlin and SparkJava. This was fun, and helped show the power of Kotlin in web development, but didn’t really hammer home why web development in Kotlin is a good thing. With so much being written and spoken about Kotlin in the Android world, I wanted to try to address the balance somewhat and put a little more weight onto the web dev argument for using Kotlin.
I have been using Kotlin for a little while now, but in a small way. I have been flitting between Java, Scala and Kotlin for a few years, but with the announcement from Google of now officially supporting Kotlin for Android, I decided to jump back in again.