Rename localhost-proxy to dev-proxy across all configurations and documentation.

This commit is contained in:
geoffsee
2025-08-16 11:05:49 -04:00
parent 9bdb07fb07
commit 294a310eee
7 changed files with 25 additions and 25 deletions

38
Cargo.lock generated
View File

@@ -186,6 +186,25 @@ version = "0.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "dev-proxy"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"bytes",
"http 1.3.1",
"reqwest",
"serde",
"serde_json",
"thiserror",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
]
[[package]] [[package]]
name = "displaydoc" name = "displaydoc"
version = "0.2.5" version = "0.2.5"
@@ -617,25 +636,6 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
[[package]]
name = "localhost-proxy"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"bytes",
"http 1.3.1",
"reqwest",
"serde",
"serde_json",
"thiserror",
"tokio",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",
]
[[package]] [[package]]
name = "log" name = "log"
version = "0.4.27" version = "0.4.27"

View File

@@ -1,3 +1,3 @@
[workspace] [workspace]
members = ["packages/localhost-proxy"] members = ["packages/dev-proxy"]
resolver = "3" resolver = "3"

View File

@@ -29,7 +29,7 @@ flowchart LR
subgraph L[Local Machine] subgraph L[Local Machine]
direction TB direction TB
user[Developer Browser] user[Developer Browser]
proxy[localhost-proxy HTTP] proxy[dev-proxy HTTP]
host[Port Mapping Layer] host[Port Mapping Layer]
registry[Local Docker Registry] registry[Local Docker Registry]
@@ -87,7 +87,7 @@ configurationsStack --> apps
``` ```
The localhost-proxy accepts HTTP on port 3000 and forwards HTTPS to the ingress controller inside the Kind cluster. Traffic is routed through ingress to services secured by ZITADEL and PostgreSQL, with Cert-Manager handling TLS. CDKTF provisions the cluster, core components, and app configs. The dev-proxy accepts HTTP on port 3000 and forwards HTTPS to the ingress controller inside the Kind cluster. Traffic is routed through ingress to services secured by ZITADEL and PostgreSQL, with Cert-Manager handling TLS. CDKTF provisions the cluster, core components, and app configs.
## Developer Notes ## Developer Notes
For platforms other than Darwin, you'll need to trust root certificates manually. For platforms other than Darwin, you'll need to trust root certificates manually.

View File

@@ -1,11 +1,11 @@
[package] [package]
name = "localhost-proxy" name = "dev-proxy"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
authors = ["Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>"] authors = ["Geoff Seemueller <28698553+geoffsee@users.noreply.github.com>"]
[[bin]] [[bin]]
name = "localhost-proxy" name = "dev-proxy"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]

View File

@@ -0,0 +1 @@
This server brokers http requests to https to make development easier.

View File

@@ -1 +0,0 @@
This server brokers https requests to http to make development easier.