Newsletter Service written in Rust
Please make sure to install docker on your host machine. You can then simply run a bash script to execute the postgres container.
$ ./scripts/init_db.sh
For a better dev and debugging experience, I recommend to use cargo watch
.
$ cargo install cargo-watch
You can then re-compile the solution by just saving your changes. The command below also makes sure to run the tests and clears the screen every time you save a file.
$ cargo watch -x run -x test -c