Generate Vapor project

This commit is contained in:
wt committed 2025-11-09 02:24:21 +07:00
commit 600dbf172d
17 files changed
+469

No files matched your search

+14
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())
}