Create Project APIs.
This commit is contained in:
parent
d8094c4812
commit
8b32739e51
13 changed files with 297 additions and 7 deletions
|
|
@ -32,6 +32,7 @@ async fn main() {
|
|||
let app = Router::new()
|
||||
.route("/health", get(health))
|
||||
.nest("/api/tasks", services::create_task_router())
|
||||
.nest("/api/projects", services::create_project_router())
|
||||
.layer(cors)
|
||||
.with_state(pool);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue