cca-club-hub-rust-backend

所属分类:Rust编程
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-09-25 20:23:33
上 传 者sh-1993
说明:  cca俱乐部中心生锈后端,,
(cca club hub rust backend,,)

文件列表:
.dockerignore (353, 2023-09-25)
.env.sample (429, 2023-09-25)
.idea/ (0, 2023-09-25)
.idea/cca_club_hub.iml (425, 2023-09-25)
.idea/dataSources.xml (557, 2023-09-25)
.idea/modules.xml (276, 2023-09-25)
.idea/sqldialects.xml (174, 2023-09-25)
.idea/vcs.xml (180, 2023-09-25)
.rustfmt.toml (93, 2023-09-25)
Cargo.lock (55260, 2023-09-25)
Cargo.toml (1146, 2023-09-25)
Dockerfile (557, 2023-09-25)
assets/ (0, 2023-09-25)
assets/default_pfp.png (14464, 2023-09-25)
diesel.toml (187, 2023-09-25)
fly.toml (730, 2023-09-25)
migrations/ (0, 2023-09-25)
migrations/.keep (0, 2023-09-25)
migrations/00000000000000_diesel_initial_setup/ (0, 2023-09-25)
migrations/00000000000000_diesel_initial_setup/down.sql (328, 2023-09-25)
migrations/00000000000000_diesel_initial_setup/up.sql (1155, 2023-09-25)
migrations/2022-10-16-184616_inital_migration/ (0, 2023-09-25)
migrations/2022-10-16-184616_inital_migration/down.sql (94, 2023-09-25)
migrations/2022-10-16-184616_inital_migration/up.sql (1262, 2023-09-25)
src/ (0, 2023-09-25)
src/api/ (0, 2023-09-25)
src/api/admin.rs (4825, 2023-09-25)
src/api/auth.rs (1476, 2023-09-25)
src/api/club.rs (4302, 2023-09-25)
src/api/edit.rs (7174, 2023-09-25)
src/api/mod.rs (667, 2023-09-25)
src/api/password.rs (4970, 2023-09-25)
... ...

# CCA Club Hub Backend This the backend for the CCA Club Hub written in Rust. If you are new to Rust, consider reading [The Rust Programming Language](https://doc.rust-lang.org/book/) to gain a basic understanding of how Rust works. # Installation 1. install git - https://git-scm.com/book/en/v2/Getting-Started-Installing-Git 2. install cargo - https://doc.rust-lang.org/cargo/getting-started/installation.html 3. clone this repository - in a terminal: ``` git clone https://github.com/Coding-Outreach/cca-club-hub-rust-backend cd cca-club-hub-rust-backend ``` # Setup (**required**) - copy the `.env.sample` file into a `.env` file - fill out the fields in the `.env` file # Deployment - `cargo run` - deploys the backend in debug mode - safety checks, less optimizations, meant for development - `cargo run --release` - deploys the backend in release mode - faster, meant for production

近期下载者

相关文件


收藏者