Parent-Child Relationships

Receive 404 not found error whenever I use Rested to POST to localhost running the TILApp for chapter 9 requests. Downloaded author’s code from github: GitHub - raywenderlich/vapor-til: The TIL Application for the Vapor book and its generates the same error. All else works fine with postgres db & docker. Anyone have the same issue? Any suggestions on how to fix?

Resolved – migrations reset data base to null entries. Need to re-instantiate db before query

1 Like