New site with Gridsome and Amplify
I've lost count how many iterations this website has had. There was a simple HTML/CSS site; at least twice powered by Wordpress, once by Drupal. Then there was the Ruby on Rails version, and even one using Django. There was the shared hosting, the Digital Ocean droplet, and the experiments with various services at AWS. I can say, with certainty, that I enjoyed building each version.
If I had always been focused on the content, then the smart thing would have been to just go with Wordpress and stick with it. But I've used this site as a playground to try new technologies. And so here we are again...
This time around, there were two things I wanted to work with: Vue.js and some sort of hosting experience where I could serve static pages, without having to maintain a backend. This is where JAMstack comes in.
- APIs: Any data requests use reusable APIs.
- Markdown: You write your content in markdown files, which will be pre-built at runtime.
JAMstack encompasses several approaches. What I was really interested in is a static site generator. And it happens that many static site generators are considered JAMstack-worthy.
With Gridsome installed locally, you can develop your site and build it - so it's ready to be deployed. To host my site, I used AWS Amplify. Amplify is then pointed to my GitHub repository and as soon as I update it (like adding a new blog post), Amplify grabs the updated build and deploys.
Is this the way of the future? Well, I'm not sure. But it's pretty slick for now. I have no server I need to maintain and pages are delivered blazingly fast. I'm writing my posts in Markdown, but not everyone's interested in doing that. There are other options, such as headless CMSs.