Generate Vapor project.

This commit is contained in:
Andrew Glaze
2025-05-14 18:38:30 -04:00
commit a94752a799
17 changed files with 463 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import Fluent
import Vapor
func routes(_ app: Application) throws {
app.get { req async in
"It works!"
}
app.get("hello") { req async -> String in
"Hello, world!"
}
try app.register(collection: TodoController())
}