├── .editorconfig ├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── Cargo.toml ├── README.md ├── Rocket.toml ├── hero-manager-axum ├── .env ├── Cargo.toml ├── justfile ├── migrations │ ├── 20221108190627_create_heroes_table.down.sql │ ├── 20221108190627_create_heroes_table.up.sql │ ├── 20221108190628_add_heroes_check_constraints.down.sql │ ├── 20221108190628_add_heroes_check_constraints.up.sql │ ├── 20221109142615_add_unique_name.down.sql │ └── 20221109142615_add_unique_name.up.sql ├── readme.md ├── requests.http └── src │ ├── data.rs │ ├── error.rs │ ├── healthcheck.rs │ ├── heroes.rs │ ├── main.rs │ └── model.rs ├── justfile ├── requests.http ├── rustfmt.toml ├── spin.toml ├── todo-actix-web ├── Cargo.toml └── src │ └── main.rs ├── todo-axum ├── Cargo.toml └── src │ └── main.rs ├── todo-logic ├── Cargo.toml └── src │ └── lib.rs ├── todo-rocket ├── Cargo.toml └── src │ └── main.rs ├── todo-spin ├── Cargo.toml └── src │ ├── extractors.rs │ ├── lib.rs │ └── responders.rs └── todo-warp ├── Cargo.toml └── src └── main.rs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/README.md -------------------------------------------------------------------------------- /Rocket.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/Rocket.toml -------------------------------------------------------------------------------- /hero-manager-axum/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/.env -------------------------------------------------------------------------------- /hero-manager-axum/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/Cargo.toml -------------------------------------------------------------------------------- /hero-manager-axum/justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/justfile -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221108190627_create_heroes_table.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS heroes; 2 | -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221108190627_create_heroes_table.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/migrations/20221108190627_create_heroes_table.up.sql -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221108190628_add_heroes_check_constraints.down.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE heroes DROP CONSTRAINT abilities_length_check; 2 | -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221108190628_add_heroes_check_constraints.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/migrations/20221108190628_add_heroes_check_constraints.up.sql -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221109142615_add_unique_name.down.sql: -------------------------------------------------------------------------------- 1 | DROP INDEX IF EXISTS IX_name; 2 | -------------------------------------------------------------------------------- /hero-manager-axum/migrations/20221109142615_add_unique_name.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/migrations/20221109142615_add_unique_name.up.sql -------------------------------------------------------------------------------- /hero-manager-axum/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/readme.md -------------------------------------------------------------------------------- /hero-manager-axum/requests.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/requests.http -------------------------------------------------------------------------------- /hero-manager-axum/src/data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/data.rs -------------------------------------------------------------------------------- /hero-manager-axum/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/error.rs -------------------------------------------------------------------------------- /hero-manager-axum/src/healthcheck.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/healthcheck.rs -------------------------------------------------------------------------------- /hero-manager-axum/src/heroes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/heroes.rs -------------------------------------------------------------------------------- /hero-manager-axum/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/main.rs -------------------------------------------------------------------------------- /hero-manager-axum/src/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/hero-manager-axum/src/model.rs -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/justfile -------------------------------------------------------------------------------- /requests.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/requests.http -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /spin.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/spin.toml -------------------------------------------------------------------------------- /todo-actix-web/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-actix-web/Cargo.toml -------------------------------------------------------------------------------- /todo-actix-web/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-actix-web/src/main.rs -------------------------------------------------------------------------------- /todo-axum/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-axum/Cargo.toml -------------------------------------------------------------------------------- /todo-axum/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-axum/src/main.rs -------------------------------------------------------------------------------- /todo-logic/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-logic/Cargo.toml -------------------------------------------------------------------------------- /todo-logic/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-logic/src/lib.rs -------------------------------------------------------------------------------- /todo-rocket/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-rocket/Cargo.toml -------------------------------------------------------------------------------- /todo-rocket/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-rocket/src/main.rs -------------------------------------------------------------------------------- /todo-spin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-spin/Cargo.toml -------------------------------------------------------------------------------- /todo-spin/src/extractors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-spin/src/extractors.rs -------------------------------------------------------------------------------- /todo-spin/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-spin/src/lib.rs -------------------------------------------------------------------------------- /todo-spin/src/responders.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-spin/src/responders.rs -------------------------------------------------------------------------------- /todo-warp/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-warp/Cargo.toml -------------------------------------------------------------------------------- /todo-warp/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rstropek/rust-api-fxs/HEAD/todo-warp/src/main.rs --------------------------------------------------------------------------------