implement /infodesk endpoints

This commit is contained in:
Andrew Glaze
2025-05-15 18:29:54 -04:00
parent a94752a799
commit 04c5660f7d
8 changed files with 686 additions and 41 deletions

View File

@@ -1,14 +0,0 @@
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())
}