This project is the source repository for a blog post on building a custom health check endpoint into a rust microservice.
To install rust stable, run the following command:
rustup toolchain install stable
To install project dependencies, run the following command:
cargo install --path .
To run the project, run the following command:
DATABASE_URL=postgres://root:postgres@localhost:5432?sslmode=disable \
cargo run
To run PostgreSQL using Docker Compose, run the following command:
docker compose up