- Simple REST API with vulnerabilities written in Rust
🚧 Under development 🚧
- Server port is exposed on
3000 - Postgres port is exposed on
5432
docker-compose up
- Postgres port is exposed on
5432
docker-compose up -d postgres
- Install Rust
- Install Postgres
- Clone this repository
- Install diesel_cli:
cargo install diesel_cli --no-default-features --features postgres
- If there is a problem with
diesel_clicompilation, make sure the postgres client is installed
- Run Postgres on port
5432 - Apply migrations
diesel migration run - Run
cargo run --releaseorcargo build --release && ./target/release/api-goat - Server is running on port
3000