- Docker or natively installed PostgreSQL
- Rust
Download or clone the repo:
git clone https://github.com/ksavblik/rust-websocket-api
Open the project in a terminal, install deps and run it:
cd ./rust-websocket-api
cargo build --release
# run the docker container, skip this cmd if you have active PostgreSQL instance
docker run -d --name rust_postgres -p 5432:5432 --env POSTGRES_USER=postgres --env POSTGRES_PASSWORD=postgres postgres
cargo run --release
This is it, feel free to hack the code!😄