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 improved handling of chained method calls and property accesses A standardized way to...

Nodes x Hacktober Fest 2019

Getting started with Open Source projects can be daunting some times, but we hope that our local Hacktober Fest events inspired people to get more involved in this community. We organised 5 events across 5 different locations, all with their own personal vibes and here is a short recap of...

ServerSide.swift 2019

What it’s all about As stated on their website, ServerSide.swift is aiming to be a non-profit, framework-independent conference “solely run for the love of server-side Swift”. This was the second year of the conference, this time organized in Copenhagen, Denmark from Oct 30 to Nov 1.

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 app without paying the extra cost. The...

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 api at...

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.

Going to ServerSide.swift 2018

The first conference in the world to focus on server-side Swift We (the Vapor team at Nodes) were excited when we heard that a conference focusing on server-side Swift was announced. We did get the news a bit early since the conference is run by Tim Condon, Martin Lasek and...

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 fairly feature-rich...

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 projects, including Vapor projects.

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 led us down quite...

Nodes Wars - My experience as a Vapor intern at Nodes in Copenhagen

Hello! My name is Valen, I am studying in Spain and the last subject of my training consist in an internship in a company. They gave me the chance to do this abroad and it seemed like a good opportunity. So, here I am, in Nodes, a digital agency in...

Adding MySQL to your Vapor project

In this tutorial we will walk through how to add a database layer to a Vapor project. We will be using MySQL and will assume that you have set it up on your local machine.

6 simple steps to get your first Vapor JSON response

We will cover the initial setup and how to make both POST and GET with controllers and models.