Using Swift, Vapor, and MongoDB for applications

techbelle

rachelle palmer

Posted on June 9, 2021

Using Swift, Vapor, and MongoDB for applications

TLDR: We recently released a new, small library that helps Swift developers using Vapor integrate with MongoDB. To help get started, we also have included an example application to tinker with.

Links

Essential Details

The new library works with Swift 5.2+, Vapor4, the MongoDB Swift driver, and supports Linux and MacOS usage. It requires Mac 10.15+.

The Application

Our example application is fully async and uses SwiftNIO, and has a REST API interface.

It's fairly simple. You can store a list of kittens and details about them (name, favorite food, whatever). Please check it out and give us your feedback!

And if you're interested in other examples (Kitura or Perfect), you can find those here

💖 💪 🙅 🚩
techbelle
rachelle palmer

Posted on June 9, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related