Using Fluent and Persisting Models in Vapor | raywenderlich.com

The Fluent ORM lets you use any number of database engines in your Vapor app. Learn how to persist your models in your server side Swift apps using Vapor!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/15249598-using-fluent-and-persisting-models-in-vapor

Thank you for the article! J

For three hours I was trying to get a response from the ‘Rested’ application w/o success.
Finally setting the working directory to ~/vapor/TILApp in Xcode, yield in a success.

For others, please try to set in Xcode/Product/Scheme/Edit Scheme now tab ‘options’ and here select ‘Working Directory’, klick on the folder symbol and choose the location of the TILApp folder you initially created.

Hint: I’m not super smart, but worked through the following article and learned about the working directory; Just skim for ‘working’ in the following article: https://www.raywenderlich.com/10521463-server-side-swift-with-mongodb-getting-started#toc-anchor-002

Happy Hacking!