├── .gitignore ├── Dockerfile ├── Package.resolved ├── Package.swift ├── Public ├── .gitkeep ├── images │ ├── logo.png │ ├── sign-in-with-github.png │ └── sign-in-with-google.png ├── scripts │ ├── cookies.js │ └── createAcronym.js └── styles │ └── style.css ├── README.md ├── Resources └── Views │ ├── acronym.leaf │ ├── acronymsTable.leaf │ ├── allCategories.leaf │ ├── allUsers.leaf │ ├── base.leaf │ ├── category.leaf │ ├── createAcronym.leaf │ ├── index.leaf │ ├── login.leaf │ ├── register.leaf │ ├── siwaHandler.leaf │ └── user.leaf ├── Sources ├── App │ ├── Controllers │ │ ├── .gitkeep │ │ ├── AcronymsController.swift │ │ ├── CategoriesController.swift │ │ ├── ImperialController.swift │ │ ├── UsersController.swift │ │ └── WebsiteController.swift │ ├── Migrations │ │ ├── CreateAcronym.swift │ │ ├── CreateAcronymCategoryPivot.swift │ │ ├── CreateAdminUser.swift │ │ ├── CreateCategory.swift │ │ ├── CreateToken.swift │ │ └── CreateUser.swift │ ├── Models │ │ ├── Acronym.swift │ │ ├── AcronymCategoryPivot.swift │ │ ├── Category.swift │ │ ├── Token.swift │ │ └── User.swift │ ├── configure.swift │ └── routes.swift └── Run │ └── main.swift ├── Tests └── AppTests │ ├── AcronymTests.swift │ ├── Application+Testable.swift │ ├── CategoryTests.swift │ ├── Models+Testable.swift │ └── UserTests.swift ├── docker-compose-testing.yml ├── docker-compose.yml └── testing.Dockerfile /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Dockerfile -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Package.swift -------------------------------------------------------------------------------- /Public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/images/logo.png -------------------------------------------------------------------------------- /Public/images/sign-in-with-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/images/sign-in-with-github.png -------------------------------------------------------------------------------- /Public/images/sign-in-with-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/images/sign-in-with-google.png -------------------------------------------------------------------------------- /Public/scripts/cookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/scripts/cookies.js -------------------------------------------------------------------------------- /Public/scripts/createAcronym.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/scripts/createAcronym.js -------------------------------------------------------------------------------- /Public/styles/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Public/styles/style.css -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/README.md -------------------------------------------------------------------------------- /Resources/Views/acronym.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/acronym.leaf -------------------------------------------------------------------------------- /Resources/Views/acronymsTable.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/acronymsTable.leaf -------------------------------------------------------------------------------- /Resources/Views/allCategories.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/allCategories.leaf -------------------------------------------------------------------------------- /Resources/Views/allUsers.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/allUsers.leaf -------------------------------------------------------------------------------- /Resources/Views/base.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/base.leaf -------------------------------------------------------------------------------- /Resources/Views/category.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/category.leaf -------------------------------------------------------------------------------- /Resources/Views/createAcronym.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/createAcronym.leaf -------------------------------------------------------------------------------- /Resources/Views/index.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/index.leaf -------------------------------------------------------------------------------- /Resources/Views/login.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/login.leaf -------------------------------------------------------------------------------- /Resources/Views/register.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/register.leaf -------------------------------------------------------------------------------- /Resources/Views/siwaHandler.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/siwaHandler.leaf -------------------------------------------------------------------------------- /Resources/Views/user.leaf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Resources/Views/user.leaf -------------------------------------------------------------------------------- /Sources/App/Controllers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Sources/App/Controllers/AcronymsController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Controllers/AcronymsController.swift -------------------------------------------------------------------------------- /Sources/App/Controllers/CategoriesController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Controllers/CategoriesController.swift -------------------------------------------------------------------------------- /Sources/App/Controllers/ImperialController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Controllers/ImperialController.swift -------------------------------------------------------------------------------- /Sources/App/Controllers/UsersController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Controllers/UsersController.swift -------------------------------------------------------------------------------- /Sources/App/Controllers/WebsiteController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Controllers/WebsiteController.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateAcronym.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateAcronym.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateAcronymCategoryPivot.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateAcronymCategoryPivot.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateAdminUser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateAdminUser.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateCategory.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateCategory.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateToken.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateToken.swift -------------------------------------------------------------------------------- /Sources/App/Migrations/CreateUser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Migrations/CreateUser.swift -------------------------------------------------------------------------------- /Sources/App/Models/Acronym.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Models/Acronym.swift -------------------------------------------------------------------------------- /Sources/App/Models/AcronymCategoryPivot.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Models/AcronymCategoryPivot.swift -------------------------------------------------------------------------------- /Sources/App/Models/Category.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Models/Category.swift -------------------------------------------------------------------------------- /Sources/App/Models/Token.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Models/Token.swift -------------------------------------------------------------------------------- /Sources/App/Models/User.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/Models/User.swift -------------------------------------------------------------------------------- /Sources/App/configure.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/configure.swift -------------------------------------------------------------------------------- /Sources/App/routes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/App/routes.swift -------------------------------------------------------------------------------- /Sources/Run/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Sources/Run/main.swift -------------------------------------------------------------------------------- /Tests/AppTests/AcronymTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Tests/AppTests/AcronymTests.swift -------------------------------------------------------------------------------- /Tests/AppTests/Application+Testable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Tests/AppTests/Application+Testable.swift -------------------------------------------------------------------------------- /Tests/AppTests/CategoryTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Tests/AppTests/CategoryTests.swift -------------------------------------------------------------------------------- /Tests/AppTests/Models+Testable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Tests/AppTests/Models+Testable.swift -------------------------------------------------------------------------------- /Tests/AppTests/UserTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/Tests/AppTests/UserTests.swift -------------------------------------------------------------------------------- /docker-compose-testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/docker-compose-testing.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /testing.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kodecocodes/vapor-til/HEAD/testing.Dockerfile --------------------------------------------------------------------------------