Learning project for creating a web-service using Rust ecosystem, as well as setting up a CI/CD pipeline.
- Main service is at
demo_svc. Integration tests are indemo_svc/testsand start deps via Docker Compose.- ALTERNATIVE: A possible variant would be to pu integration tests in separate package?
-
Building project:
- Run
docker compose -f docker-compose.yml up -dto start dependencies for integration tests.
- Run
-
Code Style: Run
cargo +nightly fmt -- --config-path=.rustfmt.toml- (Ideally configure this in the IDE to run on save or on commit)