The vapor 3 project was set up following this tutorial on how to set up a vapor3 project.
After downloading the repository.
brew tap vapor/homebrew-tap
brew update
brew install vapor
in the terminal.
swift package update
vapor xcode
in the terminal to update the packages and open the project in xcode.