1
0

initial commit

This commit is contained in:
2024-04-23 07:49:25 +03:00
commit ef0fa83f8b
9 changed files with 2040 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

2016
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

15
Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
[package]
name = "nir"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.7.5"
chrono = { version = "0.4.38", features = ["serde"] }
jwt = "0.16.0"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = "1.0.116"
sqlx = { version = "0.7.4", features = ["chrono"] }
tokio = { version = "1.37.0", features = ["full"] }

0
src/database.rs Normal file
View File

0
src/entity/mod.rs Normal file
View File

6
src/main.rs Normal file
View File

@@ -0,0 +1,6 @@
mod web;
#[tokio::main]
async fn main() {
println!("Hello, world!");
}

0
src/web/middlware/mod.rs Normal file
View File

2
src/web/mod.rs Normal file
View File

@@ -0,0 +1,2 @@
pub mod middlware;
pub mod routes;

0
src/web/routes/mod.rs Normal file
View File