2021-05-09 11:26:50 +00:00
|
|
|
#![recursion_limit = "256"]
|
2021-07-05 08:00:13 +00:00
|
|
|
#![allow(clippy::nonstandard_macro_braces)]
|
2021-05-09 11:26:50 +00:00
|
|
|
mod api;
|
2021-05-08 09:34:55 +00:00
|
|
|
mod app;
|
2021-05-18 17:04:06 +00:00
|
|
|
mod cookies;
|
2021-06-01 15:30:57 +00:00
|
|
|
mod create_user;
|
2021-05-13 17:33:57 +00:00
|
|
|
mod login;
|
2021-05-18 17:04:06 +00:00
|
|
|
mod logout;
|
2021-07-05 07:21:13 +00:00
|
|
|
mod user_details;
|
2021-05-11 07:54:54 +00:00
|
|
|
mod user_table;
|
2021-05-08 09:34:55 +00:00
|
|
|
|
2021-05-09 11:26:50 +00:00
|
|
|
use wasm_bindgen::prelude::{wasm_bindgen, JsValue};
|
2021-05-08 09:34:55 +00:00
|
|
|
|
|
|
|
#[wasm_bindgen]
|
|
|
|
pub fn run_app() -> Result<(), JsValue> {
|
|
|
|
yew::start_app::<app::App>();
|
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|