first commit

This commit is contained in:
Christoph Hagen
2021-11-25 19:15:38 +01:00
commit cdd5093c05
10 changed files with 183 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()