First version

This commit is contained in:
Christoph Hagen
2022-09-04 15:01:35 +02:00
parent 046c5a4f25
commit 6994a66883
8 changed files with 490 additions and 0 deletions

9
Sources/Run/main.swift Normal file
View File

@ -0,0 +1,9 @@
import App
import Vapor
var env = try Environment.detect()
try LoggingSystem.bootstrap(from: &env)
let app = Application(env)
defer { app.shutdown() }
try configure(app)
try app.run()