Vapor folder structure

The following is the list of files and folders generated by the Vapor toolbox. There are several files and folders, but the Vapor team has done a good job organizing them. The structure is similar to a Swift package, but there are some extra folders that help to organize the code, to make it easier to build features and debug issues:

$ tree ..├── Config│   ├── app.json│   ├── crypto.json│   ├── droplet.json│   └── server.json├── Package.pins├── Package.resolved├── Package.swift├── Public│   ├── images│   │   └── it-works.png│   └── styles│   └── app.css├── README.md├── Resources│   └── Views│   ├── base.leaf│   ├── hello.leaf│   └── welcome.leaf├── Sources│   ├── App│   │   ├── Config+Setup.swift│   │   ├── Controllers│   │   │   └── HelloController.swift

Get Hands-On Full-Stack Development with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.