DEV Community

Cover image for Using Swift, Vapor, and MongoDB for applications
rachelle palmer
rachelle palmer

Posted on

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.


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

Discussion (0)