feat: Begins integrating database client into vapor app.
This commit is contained in:
@@ -3,10 +3,10 @@ import Vapor
|
||||
|
||||
struct ApiController: RouteCollection {
|
||||
func boot(routes: any RoutesBuilder) throws {
|
||||
try routes.register(collection: EmployeeApiController())
|
||||
try routes.register(collection: PurchaseOrderApiController())
|
||||
// try routes.register(collection: EmployeeApiController())
|
||||
// try routes.register(collection: PurchaseOrderApiController())
|
||||
try routes.register(collection: UserApiController())
|
||||
try routes.register(collection: VendorApiController())
|
||||
try routes.register(collection: VendorBranchApiController())
|
||||
// try routes.register(collection: VendorApiController())
|
||||
// try routes.register(collection: VendorBranchApiController())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user