init project, impl authorization

This commit is contained in:
2022-06-06 14:17:58 +05:00
commit ec73d6584f
26 changed files with 2680 additions and 0 deletions

22
backend/Cargo.toml Normal file
View File

@ -0,0 +1,22 @@
[package]
name = "backend"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4.0.1"
serde = "1.0.137"
rmp-serde = "1.1.0"
sqlx = { version = "0.5", features = ["runtime-actix-rustls", "postgres", "migrate", "uuid", "chrono"] }
dotenv = "0.15.0"
uuid = { version = "1.1.1", features = ["v4", "serde"] }
futures = "0.3.21"
derive_more = "0.99.17"
mime = "0.3.16"
rand = "0.8.5"
sha2 = "0.10.2"
chrono = "0.4.19"
jsonwebtoken = "8.1.0"
base64 = "0.13.0"