What's new in Swift
This year's "What's new in Swift" included a plethora of improvements and new add-ons. Some of the news are: better diagnostic compiler error's and hence better debugging improved and faster code completion improved auto indentation improved integration ...
Sharing code between iOS and Vapor
Code reusability has always been one of the ultimate goals for us developers. Building your backend with Vapor not only gives you highly scalable apps with shallow memory footprint, but also the potential to share some of your backend code with your iOS a...
Fetching files easily in Vapor when you are writing tests
Vapor has a nifty build-in feature to derive the working directory of a project. This makes it easy for you to fetch files from your project and serve their content; fx if you want to seed some data in your database, if you are building an initial mock ap...
Serverless Server-side Swift using Google Cloud Run
Learn about Google's new service launched recently – Google Cloud Run – and how it allows you to run server-side swift server-less 😱. In part 1 we will cover the basics and deploy a Vapor application in less than 10 minutes. Part 1: Deploying a Server-si...
Bugsnag for Vapor 3
At Nodes we have been working hard on a Vapor 3 provider for Bugsnag. Bugsnag is a reporting tool that we use extensively to help catch and fix bugs. In the new version of the library, we've been able to remove a lot of dead code, simplify the API and add...
A Guide to Google Home Integrations
Within the trend of IoT, Google Home is amongst the most popular. Thankfully, Google has made the development of actions quite approachable. To get an overview of the process, let's create a weather integration together. Actions on Google Creating your Go...
Getting started with Vapor 3
Vapor has been our go-to framework when we develop backend solutions at Nodes since January 2017. A lot has happened during the past year, especially when we saw Vapor 2 got released back in May. Our overall opinion is that Vapor 2 has been a mature and a...
Vapor code generation with Sourcery
Swift is a relatively new language in the server realm that brings a lot of nice changes, such as type safety and compilation. But it's not all sunshine and rainbows. Swift's poor metaprogramming can introduce a huge amount of boilerplate into Swift proje...
Getting stack traces in Swift on Linux
Bugsnag is a convenient service for reporting and catching bugs and crashes that Nodes has been using for a long time. When we moved our backend stack over to Swift, we noticed that there was not a Linux-friendly package. So, we built our own! Doing so le...