Backend commit

This commit is contained in:
Franklin 2023-04-29 22:55:03 -04:00
commit dd507c8d07
8 changed files with 2231 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

2200
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

20
Cargo.toml Normal file
View File

@ -0,0 +1,20 @@
[package]
name = "bl-backend"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = {version = "1.20.1", features = ["full"]}
chrono = "0.4.23"
chrono-tz = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.88"
sqlx = { version = "0.6.0", features = [ "runtime-tokio-rustls", "postgres", "chrono", "uuid", "offline" ] }
dotenv = { version = "0.15.0" }
actix-web = {version = "4.1.0"}
actix-cors = "0.6.2"
actix-web-utils = { git = "https://git.franklinblanco.dev/franklinblanco/actix-web-utils.git" }
err = { git = "https://git.franklinblanco.dev/franklinblanco/err.git" }

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

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

10
src/main.rs Normal file
View File

@ -0,0 +1,10 @@
mod services;
mod routes;
mod domain;
mod dao;
#[tokio::main]
async fn main() {
}

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

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