Files
vapor-po/Sources/App/Controllers/ApiController.swift

13 lines
442 B
Swift

import Fluent
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: UserApiController())
// try routes.register(collection: VendorApiController())
// try routes.register(collection: VendorBranchApiController())
}
}