This past year, I have spent quite some time experimenting with server-side Swift, trying to find out how far I could take it, how easy it is to use and how well it performs. These experiments turned into a larger project, one that I hope to release by the end of the year. While that project will become my main example of server-side Swift, I want to start with something smaller and more approachable. To that end, I have rewritten this website in Swift.
The result is a simple template rendering app that can be used to create a personal website and blog. It shows how to do basic routing and serve static files using Kitura and how to use Stencil as a template language for web pages. Instructions are included to set up the app on your macOS or Linux machine, as well as deploy to IBM Cloud using a free account.
For more information, see the repository on GitHub.
If you've enjoyed my work or found it helpful, please consider becoming a patron. Your support helps me free up time to work on my books and projects.