├── .gitignore ├── .swift-version ├── .travis.yml ├── Config ├── app.json ├── development │ └── app.json ├── production │ ├── app.json │ └── servers.json ├── secrets │ ├── .gitkeep │ └── app.json └── servers.json ├── Localization ├── default.json ├── en.json └── es.json ├── Package.swift ├── Procfile ├── Public ├── images │ └── vapor-logo.png └── styles │ └── app.css ├── README.md ├── Resources └── Views │ ├── embeds │ └── header.leaf │ ├── template.leaf │ └── welcome.html ├── Sources └── App │ ├── Controllers │ └── UserController.swift │ ├── Middleware │ └── SampleMiddleware.swift │ ├── Models │ └── User.swift │ └── main.swift ├── app.json └── license /.gitignore: -------------------------------------------------------------------------------- 1 | Packages 2 | .build 3 | xcuserdata 4 | *.xcodeproj 5 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0-GM-CANDIDATE 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/.travis.yml -------------------------------------------------------------------------------- /Config/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Config/app.json -------------------------------------------------------------------------------- /Config/development/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "development-key" 3 | } -------------------------------------------------------------------------------- /Config/production/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "$VAPOR_APP_KEY" 3 | } -------------------------------------------------------------------------------- /Config/production/servers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Config/production/servers.json -------------------------------------------------------------------------------- /Config/secrets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Config/secrets/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Config/secrets/app.json -------------------------------------------------------------------------------- /Config/servers.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Config/servers.json -------------------------------------------------------------------------------- /Localization/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Localization/default.json -------------------------------------------------------------------------------- /Localization/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Localization/en.json -------------------------------------------------------------------------------- /Localization/es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Localization/es.json -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Package.swift -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: App --env=production --workdir="./" 2 | -------------------------------------------------------------------------------- /Public/images/vapor-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Public/images/vapor-logo.png -------------------------------------------------------------------------------- /Public/styles/app.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Public/styles/app.css -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/README.md -------------------------------------------------------------------------------- /Resources/Views/embeds/header.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Resources/Views/embeds/header.leaf -------------------------------------------------------------------------------- /Resources/Views/template.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Resources/Views/template.leaf -------------------------------------------------------------------------------- /Resources/Views/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Resources/Views/welcome.html -------------------------------------------------------------------------------- /Sources/App/Controllers/UserController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Sources/App/Controllers/UserController.swift -------------------------------------------------------------------------------- /Sources/App/Middleware/SampleMiddleware.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Sources/App/Middleware/SampleMiddleware.swift -------------------------------------------------------------------------------- /Sources/App/Models/User.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Sources/App/Models/User.swift -------------------------------------------------------------------------------- /Sources/App/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/Sources/App/main.swift -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/app.json -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor-community/example/HEAD/license --------------------------------------------------------------------------------