feat: Mostly implemented routing using url-routing package.

This commit is contained in:
2025-01-19 00:06:57 -05:00
parent da41da566b
commit d27a19863a
8 changed files with 626 additions and 225 deletions

View File

@@ -19,8 +19,8 @@ struct DatabaseClientTests {
@Test
func testPath() {
let path = AppRoute.ViewRoute.router.path(for: .employee(.index))
#expect(path == "/employees")
let path = ApiRoute.router.path(for: .employee(.index))
#expect(path == "/api/v1/employees")
}
@Test