adding menu items

This commit is contained in:
Colin McKechney
2023-04-30 16:01:13 -04:00
parent c76a63735a
commit 82b4be1ba1
4 changed files with 58 additions and 1 deletions

View File

@@ -50,6 +50,10 @@ async fn main() -> std::io::Result<()> {
web::resource("/signup")
.route(web::post().to(api::user::signup))
)
.service(
web::resource("/eatery/{eatery_id}")
.route(web::get().to(api::eatery::menu))
)
.route("/", web::get().to(api_index))
)
.route("/", web::get().to(index))