first commit

This commit is contained in:
Michael Simard
2020-05-25 20:58:43 -05:00
commit ba9bfd5e6a
13 changed files with 282 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()