This is a big dump of a lot of code, mostly making it so that: - we have a key-value store - we can create/save/load projects and documents - there's a sidebar layout with some placeholders we may or may not need - other stuff I forgot Reviewed-on: #1
16 lines
368 B
Rust
16 lines
368 B
Rust
pub mod documents;
|
|
pub mod home;
|
|
pub mod login;
|
|
pub mod projects;
|
|
|
|
use axum::http::StatusCode;
|
|
use axum::response::Response;
|
|
pub use login::login_page;
|
|
pub use login::login_submit;
|
|
|
|
pub fn internal_server_error() -> Response {
|
|
Response::builder()
|
|
.status(StatusCode::INTERNAL_SERVER_ERROR)
|
|
.body("Internal Server Error".into())
|
|
.unwrap()
|
|
}
|