For local development and testing, the application can be started up directly using either Cargo or by building a running a Docker container.
Notes:
- For rapid developing, running Cargo directly will likely be the quicker option.
- Both examples below will result in the application running and available on localhost:8080.
cargo run
./scripts/build_container.sh
./scripts/run_container.sh
curl -v -X PUT --data-binary @crates/portools-service/resource/example.csv http://localhost:8080/portfolio/1
curl -v http://localhost:8080/portfolio/1