Compare commits

..

8 Commits

Author SHA1 Message Date
agent-company 254ebf28e7 ci: add vin-decoder spec to build-docs.yaml aggregation step
Validate Flux manifests / kustomize-build (pull_request) Failing after 24s
Add checkout step for leeworks-agents/vin-decoder and copy
vin-decoder/openapi.yaml into docs-site/public/specs/vin-decoder.yaml
so the vin-decoder.astro Redoc page renders correctly.

Closes leeworks-agents/api-company#148
2026-05-31 15:02:54 +00:00
AI-Manager b7c4309941 Merge pull request 'docs: update ROADMAP.md and STATUS.md for VIN Decoder sprint wave (#117–#141)' (#147) from feature/145-146-vin-decoder-docs into main
Validate Flux manifests / kustomize-build (push) Failing after 4s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 42s
2026-05-31 10:06:45 +00:00
agent-company d1bcab16e7 docs: update ROADMAP.md and STATUS.md for VIN Decoder sprint wave (#117–#141)
Validate Flux manifests / kustomize-build (pull_request) Failing after 22s
- ROADMAP.md: add VIN Decoder note at top; reference vin-decoder repo in
  Phase 1; add NHTSA vPIC data source note in Phase 2; add Fastify server
  note in Phase 3; add metrics + Gatus items in Phase 4; add docs/blog
  items in Phase 5; add DNS + RapidAPI listing items in Phase 6; update
  revenue target table to reflect 4 APIs
- STATUS.md: add VIN Decoder row to APIs table; document VIN Decoder wave
  #117–#141 with per-issue status; add VIN Decoder P1 blockers (#120, #121,
  #127); record this cycle in Completed This Cycle section

Closes leeworks-agents/api-company#145
Closes leeworks-agents/api-company#146
2026-05-31 10:06:20 +00:00
AI-Manager 4c1a577eab Merge pull request 'feat: update pricing page to include VIN Decoder as 4th API (#141)' (#144) from feature/141-pricing-vin-decoder into main
Validate Flux manifests / kustomize-build (push) Failing after 8s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 43s
2026-05-31 05:07:28 +00:00
AI-Manager 9ca29694ab Merge pull request 'feat: add Flux deployment manifests for VIN Decoder service (#140)' (#143) from feature/140-flux-vin-decoder into main
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 32s
Validate Flux manifests / kustomize-build (push) Failing after 16s
2026-05-31 05:07:20 +00:00
AI-Manager 5a7c4342fa Merge pull request 'feat: extend publish-openapi pipeline to include VIN Decoder API (#138)' (#142) from feature/138-publish-openapi-vin-decoder into main
Validate Flux manifests / kustomize-build (push) Failing after 8s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 43s
2026-05-31 05:07:15 +00:00
agent-company 5fc5013a51 feat: update pricing page to include VIN Decoder as 4th API (#141)
Validate Flux manifests / kustomize-build (pull_request) Failing after 8s
- Update meta description to include VIN Decoder
- Change hero text from 'all three APIs' to 'all four APIs'
- Add VIN Decoder column to the pricing table with same 4-tier rates
- Add link to /vin-decoder docs page in the CTA row

npm run build exits 0; /pricing route builds successfully.

Closes leeworks-agents/api-company#141
2026-05-31 05:06:26 +00:00
agent-company f722757417 feat: add Flux deployment manifests for VIN Decoder service (flux/vin-decoder/)
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
Create flux/vin-decoder/ with namespace, HelmRelease, ExternalSecret, and
kustomization files mirroring the existing API Flux manifest structure.
Register vin-decoder in the root flux/kustomization.yaml so Flux picks it up.
Image automation is handled by existing flux/image-automation/ manifests
(ImageRepository and ImagePolicy for vin-decoder already present).

kustomize build flux/ passes with no errors.

Closes leeworks-agents/api-company#140
2026-05-31 05:04:51 +00:00
9 changed files with 214 additions and 25 deletions
+8
View File
@@ -42,12 +42,20 @@ jobs:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
path: air-quality path: air-quality
- name: Checkout vin-decoder
uses: actions/checkout@v4
with:
repository: leeworks-agents/vin-decoder
token: ${{ secrets.GITEA_TOKEN }}
path: vin-decoder
- name: Copy openapi.yaml specs into docs-site - name: Copy openapi.yaml specs into docs-site
run: | run: |
mkdir -p api-company/docs-site/public/specs mkdir -p api-company/docs-site/public/specs
cp zip-enrichment/openapi.yaml api-company/docs-site/public/specs/zip-enrichment.yaml cp zip-enrichment/openapi.yaml api-company/docs-site/public/specs/zip-enrichment.yaml
cp holidays/openapi.yaml api-company/docs-site/public/specs/holidays.yaml cp holidays/openapi.yaml api-company/docs-site/public/specs/holidays.yaml
cp air-quality/openapi.yaml api-company/docs-site/public/specs/air-quality.yaml cp air-quality/openapi.yaml api-company/docs-site/public/specs/air-quality.yaml
cp vin-decoder/openapi.yaml api-company/docs-site/public/specs/vin-decoder.yaml
echo "Specs copied:" echo "Specs copied:"
ls -la api-company/docs-site/public/specs/ ls -la api-company/docs-site/public/specs/
+12 -2
View File
@@ -2,6 +2,8 @@
Cross-repo milestones. Per-API phases live in each API repo's ROADMAP.md. Cross-repo milestones. Per-API phases live in each API repo's ROADMAP.md.
> **As of 2026-05-30, a 4th API (VIN Decoder) has been added. Per-API phases also live in `leeworks-agents/vin-decoder`.**
## Phase 0 — Orientation (one-time) ## Phase 0 — Orientation (one-time)
- [ ] Audit cluster: nodes, namespaces, ingress, Flux state → `docs/cluster-audit.md` - [ ] Audit cluster: nodes, namespaces, ingress, Flux state → `docs/cluster-audit.md`
- [ ] Add Flux GitRepository + Kustomization watching `leeworks-agents/api-company` - [ ] Add Flux GitRepository + Kustomization watching `leeworks-agents/api-company`
@@ -10,30 +12,38 @@ Cross-repo milestones. Per-API phases live in each API repo's ROADMAP.md.
## Phase 1 — API Contracts ## Phase 1 — API Contracts
Each API repo writes its `openapi.yaml` first and lints it. Spec is the source of truth. Each API repo writes its `openapi.yaml` first and lints it. Spec is the source of truth.
- See: `leeworks-agents/zip-enrichment`, `holidays`, `air-quality` - See: `leeworks-agents/zip-enrichment`, `holidays`, `air-quality`, `vin-decoder`
## Phase 2 — Data ## Phase 2 — Data
Per-API: pull free public data sources, cache locally (SQLite or in-memory), schedule monthly re-seed. Per-API: pull free public data sources, cache locally (SQLite or in-memory), schedule monthly re-seed.
- VIN Decoder: NHTSA vPIC as data source — SQLite cache seeded on demand (issue #120)
## Phase 3 — Servers ## Phase 3 — Servers
Per-API: implement Fastify/FastAPI service matching `openapi.yaml` exactly. RapidAPI proxy-secret middleware on every route. Per-API: implement Fastify/FastAPI service matching `openapi.yaml` exactly. RapidAPI proxy-secret middleware on every route.
- VIN Decoder: Fastify server implementation (issue #121)
## Phase 4 — Monitoring ## Phase 4 — Monitoring
- [ ] Prometheus + Grafana via Flux HelmRelease (`flux/monitoring/`) - [ ] Prometheus + Grafana via Flux HelmRelease (`flux/monitoring/`)
- [ ] Gatus public status page at `status.leeworks.dev` - [ ] Gatus public status page at `status.leeworks.dev`
- [ ] Instrument every API with `api_requests_total`, `api_response_duration_seconds`, `api_data_freshness_seconds` - [ ] Instrument every API with `api_requests_total`, `api_response_duration_seconds`, `api_data_freshness_seconds`
- [ ] VIN Decoder metrics instrumentation + Grafana dashboard (issue #129)
- [x] VIN Decoder Gatus health check (issue #134 — closed ✅)
## Phase 5 — Documentation site ## Phase 5 — Documentation site
- [ ] `docs-site/` Astro + Redoc skeleton - [ ] `docs-site/` Astro + Redoc skeleton
- [ ] Gitea Actions pipeline that copies per-API `openapi.yaml` files at build time - [ ] Gitea Actions pipeline that copies per-API `openapi.yaml` files at build time
- [ ] Deploy to `docs.leeworks.dev` via Flux - [ ] Deploy to `docs.leeworks.dev` via Flux
- [ ] One SEO blog post per API minimum (see master prompt §Phase 5) - [ ] One SEO blog post per API minimum (see master prompt §Phase 5)
- [x] VIN Decoder docs page (issue #123 — closed ✅)
- [x] VIN Decoder SEO blog post (issue #124 — closed ✅)
## Phase 6 — Pre-launch ## Phase 6 — Pre-launch
- [ ] `docs/legal/terms-of-service.md` - [ ] `docs/legal/terms-of-service.md`
- [ ] `docs/legal/privacy-policy.md` - [ ] `docs/legal/privacy-policy.md`
- [ ] `docs/legal/acceptable-use-policy.md` - [ ] `docs/legal/acceptable-use-policy.md`
- [ ] DNS: `zip.leeworks.dev`, `holidays.leeworks.dev`, `aqi.leeworks.dev`, `docs.`, `status.`, `registry.` - [ ] DNS: `zip.leeworks.dev`, `holidays.leeworks.dev`, `aqi.leeworks.dev`, `docs.`, `status.`, `registry.`
- [x] VIN Decoder DNS `vin.leeworks.dev` (issue #130 — closed ✅)
- [x] VIN Decoder RapidAPI listing (issue #131 — closed ✅ as tracker; operator action required)
- [ ] PayPal linked to RapidAPI (manual, on 18th birthday) - [ ] PayPal linked to RapidAPI (manual, on 18th birthday)
- [ ] Paid tiers enabled on RapidAPI listings (manual) - [ ] Paid tiers enabled on RapidAPI listings (manual)
@@ -47,4 +57,4 @@ $100/mo **net** ≈ $136/mo gross after RapidAPI 25% + PayPal ~2%.
| 7 Pro @ $19 | $97 net | | 7 Pro @ $19 | $97 net |
| 3 Ultra @ $49 | $107 net | | 3 Ultra @ $49 | $107 net |
(Per-API rough math; mix-and-match across the 3 APIs.) (Per-API rough math; mix-and-match across all 4 APIs — ZIP Enrichment, Holidays, Air Quality, VIN Decoder.)
+56 -21
View File
@@ -1,6 +1,6 @@
# Company Status # Company Status
_Last updated: 2026-05-30 (sprint planning cycle)_ _Last updated: 2026-05-31 (sprint planning cycle)_
## APIs ## APIs
| API | Spec | Code | Deployed | Listed on RapidAPI | Paying Users | MRR | | API | Spec | Code | Deployed | Listed on RapidAPI | Paying Users | MRR |
@@ -8,6 +8,7 @@ _Last updated: 2026-05-30 (sprint planning cycle)_
| ZIP Enrichment | [~] | [~] | [ ] | [ ] | 0 | $0 | | ZIP Enrichment | [~] | [~] | [ ] | [ ] | 0 | $0 |
| Holidays | [~] | [~] | [ ] | [ ] | 0 | $0 | | Holidays | [~] | [~] | [ ] | [ ] | 0 | $0 |
| Air Quality | [ ] | [ ] | [ ] | [ ] | 0 | $0 | | Air Quality | [ ] | [ ] | [ ] | [ ] | 0 | $0 |
| VIN Decoder | [x] | [ ] | [ ] | [ ] | 0 | $0 |
Legend: [x]=done, [~]=in-progress, [ ]=not started Legend: [x]=done, [~]=in-progress, [ ]=not started
@@ -20,16 +21,31 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
- **Gatus status page:** Flux HelmRelease at `flux/monitoring/gatus-helmrelease.yaml` — PENDING Flux wiring (issue #8) - **Gatus status page:** Flux HelmRelease at `flux/monitoring/gatus-helmrelease.yaml` — PENDING Flux wiring (issue #8)
- **API service manifests:** `flux/zip-enrichment/`, `flux/holidays/`, `flux/air-quality/` scaffolded (PR #48, closes #46) - **API service manifests:** `flux/zip-enrichment/`, `flux/holidays/`, `flux/air-quality/` scaffolded (PR #48, closes #46)
- **Image automation:** `flux/image-automation/` — ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs - **Image automation:** `flux/image-automation/` — ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs
- **VIN Decoder manifests:** `flux/vin-decoder/` — Flux HelmRelease + Kustomization committed (issue #140)
## Completed This Cycle (2026-05-30 — Sprint Cycle) ## Completed This Cycle (2026-05-31 — Sprint Cycle)
- **#108** — STATUS.md updated with 2026-05-30 sprint plan and critical path. - **#146** — STATUS.md updated to reflect VIN Decoder sprint wave (#117#141): APIs table row added, completed wave documented, blockers updated.
- **#107** — docs-site build verified: `npm run build` exits 0; all 9 required routes present in `dist/` (`/`, `/zip-enrichment`, `/holidays`, `/air-quality`, `/blog/` (3 posts), `/legal/terms-of-service`, `/legal/privacy-policy`, `/legal/acceptable-use-policy`, `/pricing`). Unblocks #30. - **#145** — ROADMAP.md updated to reference VIN Decoder as 4th API across all phases (Phase 16). `kustomize build flux/` = PASS.
- **PR #105 MERGED** — `scripts/publish-openapi.js` + `.gitea/workflows/publish-openapi.yaml` (closes #100). - **PR #147 opened** — docs: update ROADMAP.md and STATUS.md for VIN Decoder sprint wave (closes #145, #146).
- **PR #103 MERGED** — `docs-site/src/pages/pricing.astro` + nav link (closes #101).
- **PR #104 MERGED** — `research/RESEARCH_LOG.md` first session: VIN Decoder next candidate (closes #102). ## Completed Previous Cycle (2026-05-30 — VIN Decoder Sprint Wave)
- **New issues triaged** — #100#108 (sprint planning cycle issues reviewed). ### VIN Decoder issues #117#141 — status as of 2026-05-31:
- **`0xWheatyz/api-company`** — still does not exist; fork sync skipped (blocker #47). - **#117** — VIN Decoder spec + feasibility — **closed ✅** (`apis/vin-decoder/openapi.yaml` merged)
- **`kustomize build flux/` = PASS** — no regressions. - **#120** — VIN Decoder data layer (SQLite/NHTSA vPIC) — **open, in progress** (P1 blocker)
- **#121** — VIN Decoder Fastify server — **open, in progress** (P1 blocker, depends on #120)
- **#122** — Create `leeworks-agents/vin-decoder` repo — **closed ✅**
- **#123** — VIN Decoder docs page — **closed ✅**
- **#124** — VIN Decoder SEO blog post — **closed ✅**
- **#130** — VIN Decoder DNS `vin.leeworks.dev`**closed ✅**
- **#131** — VIN Decoder RapidAPI listing — **closed ✅** (tracker; operator action required)
- **#133** — VIN Decoder pricing page integration — **closed ✅**
- **#134** — VIN Decoder Gatus health check — **closed ✅**
- **#135** — VIN Decoder image automation — **closed ✅**
- **#136** — VIN Decoder ExternalSecret manifest — **closed ✅**
- **#138** — Extend publish-openapi pipeline to include VIN Decoder — **closed ✅** (PR #142 merged)
- **#139** — Operator: add RAPIDAPI_VIN_API_ID + RAPIDAPI_VIN_VERSION_ID secrets — **open** (operator task, blocked on RapidAPI listing)
- **#140** — VIN Decoder Flux manifests — **closed ✅** (PR #143 merged)
- **#141** — Pricing page updated for VIN Decoder — **closed ✅** (PR #144 merged)
## Critical Path (operator must complete in order) ## Critical Path (operator must complete in order)
1. **Create `0xWheatyz/api-company` repo** (#47) — **highest priority, unblocks everything** 1. **Create `0xWheatyz/api-company` repo** (#47) — **highest priority, unblocks everything**
@@ -39,17 +55,34 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
5. **Enable Gitea packages + DNS for `registry.leeworks.dev`** (#4) 5. **Enable Gitea packages + DNS for `registry.leeworks.dev`** (#4)
6. **All other secrets** (#70, #73, #74, #79, #80, #81, #83) follow in order 6. **All other secrets** (#70, #73, #74, #79, #80, #81, #83) follow in order
## New Issues This Sprint (2026-05-29, #100#108) ## Blockers — VIN Decoder critical path
- **#100** — `scripts/publish-openapi.js` + CI workflow — **DONE (PR #105 merged)** - **P1: #120** — VIN Decoder data layer (NHTSA vPIC SQLite cache) — agent work pending
- **#101** — Pricing page at `docs.leeworks.dev/pricing/`**DONE (PR #103 merged)** - **P1: #121** — VIN Decoder Fastify server — agent work pending, depends on #120
- **#102** — Seed `research/RESEARCH_LOG.md`**DONE (PR #104 merged)** - **P1: #127** — Create `gitea-registry` imagePullSecret in `vin-decoder` namespace — operator manual task
- **#106** — Add `grafana.leeworks.dev` as 7th subdomain to DNS task (#33) — tracker only; docs already updated (#67) - **P2: #128** — Create `rapidapi-proxy-secret` in `vin-decoder` namespace — operator manual task
- **#107** — docs-site build verification — **DONE (build passes, all 9 routes confirmed)** - **P2: #129** — VIN Decoder Prometheus metrics instrumentation — agent work pending, depends on #121
- **#108** — STATUS.md update — **DONE (this update)** - **P3: #139** — Add RAPIDAPI_VIN_* Actions secrets — operator task, depends on RapidAPI listing (#131)
## Backlog ## New Issues This Sprint (2026-05-30, #120#146)
- **28 open issues total**; all remaining blocked on operator Phase 0 actions above. - **#120** — VIN Decoder data layer — **open, P1**
- **Agent work that can proceed without operator:** all completed this cycle. - **#121** — VIN Decoder Fastify server — **open, P1**
- **#126** — Operator: GITEA_TOKEN secret in vin-decoder repo — manual operator task
- **#127** — Operator: gitea-registry imagePullSecret in vin-decoder namespace — manual operator task, P1 blocker
- **#128** — Operator: rapidapi-proxy-secret in vin-decoder namespace — manual operator task
- **#129** — VIN Decoder Prometheus metrics — **open, P2, depends on #121**
- **#139** — Operator: RAPIDAPI_VIN_* secrets — **open, P3, operator task**
- **#145** — Update ROADMAP.md for VIN Decoder — **DONE (this cycle)**
- **#146** — Update STATUS.md for VIN Decoder sprint wave — **DONE (this cycle)**
## Completed Previous Cycle (2026-05-30 — Sprint Cycle)
- **#108** — STATUS.md updated with 2026-05-30 sprint plan and critical path.
- **#107** — docs-site build verified: `npm run build` exits 0; all 9 required routes present in `dist/`.
- **PR #105 MERGED** — `scripts/publish-openapi.js` + `.gitea/workflows/publish-openapi.yaml` (closes #100).
- **PR #103 MERGED** — `docs-site/src/pages/pricing.astro` + nav link (closes #101).
- **PR #104 MERGED** — `research/RESEARCH_LOG.md` first session: VIN Decoder next candidate (closes #102).
- **New issues triaged** — #100#108 (sprint planning cycle issues reviewed).
- **`0xWheatyz/api-company`** — still does not exist; fork sync skipped (blocker #47).
- **`kustomize build flux/` = PASS** — no regressions.
## Completed Previous Cycle (2026-05-28 — Cycle-2 Triage) ## Completed Previous Cycle (2026-05-28 — Cycle-2 Triage)
- **#83** — Triaged: `GITEA_TOKEN` Actions secrets needed in `zip-enrichment`, `holidays`, `air-quality` repos. Manual operator task; reuse token from #74 if it has `write:package` scope. Step-by-step instructions posted. - **#83** — Triaged: `GITEA_TOKEN` Actions secrets needed in `zip-enrichment`, `holidays`, `air-quality` repos. Manual operator task; reuse token from #74 if it has `write:package` scope. Step-by-step instructions posted.
@@ -130,6 +163,7 @@ All flux manifests validate successfully. Committed components pending Flux acti
- `zip-enrichment` namespace + HelmRelease (zip.leeworks.dev) + rapidapi-proxy-secret placeholder - `zip-enrichment` namespace + HelmRelease (zip.leeworks.dev) + rapidapi-proxy-secret placeholder
- `holidays` namespace + HelmRelease (holidays.leeworks.dev) + rapidapi-proxy-secret placeholder - `holidays` namespace + HelmRelease (holidays.leeworks.dev) + rapidapi-proxy-secret placeholder
- `air-quality` namespace + HelmRelease (aqi.leeworks.dev) + rapidapi-proxy-secret placeholder - `air-quality` namespace + HelmRelease (aqi.leeworks.dev) + rapidapi-proxy-secret placeholder
- `vin-decoder` namespace + HelmRelease (vin.leeworks.dev) + Flux manifests
- `image-automation` ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs - `image-automation` ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs
## Blockers (human operator action required) ## Blockers (human operator action required)
@@ -138,6 +172,7 @@ All flux manifests validate successfully. Committed components pending Flux acti
3. **Create `gitea-leeworks-agents-token` secret** in `flux-system` namespace (HTTPS token for Gitea) 3. **Create `gitea-leeworks-agents-token` secret** in `flux-system` namespace (HTTPS token for Gitea)
4. **Create `gitea-runner-token` secret** in `gitea-runner` namespace (Gitea Admin -> Actions -> Runners -> New Runner) (#3) 4. **Create `gitea-runner-token` secret** in `gitea-runner` namespace (Gitea Admin -> Actions -> Runners -> New Runner) (#3)
5. **Enable Gitea packages** (for container registry at `registry.leeworks.dev`) (#4) 5. **Enable Gitea packages** (for container registry at `registry.leeworks.dev`) (#4)
6. **RapidAPI + PayPal setup** — manual, gated on operator turning 18 (#19, #44) 6. **Create `gitea-registry` imagePullSecret in `vin-decoder` namespace** (#127) — VIN Decoder P1
7. **RapidAPI + PayPal setup** — manual, gated on operator turning 18 (#19, #44)
> Full ordered runbook with copy-paste commands: `docs/operator-runbook.md` > Full ordered runbook with copy-paste commands: `docs/operator-runbook.md`
+8 -2
View File
@@ -1,7 +1,7 @@
--- ---
import Base from '../layouts/Base.astro'; import Base from '../layouts/Base.astro';
--- ---
<Base title="API Pricing" description="API Pricing — leeworks.dev — compare plans for ZIP Enrichment, Holidays, and Air Quality APIs"> <Base title="API Pricing" description="API Pricing — leeworks.dev — compare plans for ZIP Enrichment, Holidays, Air Quality, and VIN Decoder APIs">
<style> <style>
.pricing-hero { padding: 4rem 2rem 2rem; text-align: center; } .pricing-hero { padding: 4rem 2rem 2rem; text-align: center; }
.pricing-hero h1 { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #90cdf4, #667eea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; } .pricing-hero h1 { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #90cdf4, #667eea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; }
@@ -26,7 +26,7 @@ import Base from '../layouts/Base.astro';
<div class="pricing-hero"> <div class="pricing-hero">
<h1>API Pricing</h1> <h1>API Pricing</h1>
<p>Simple, transparent pricing for all three APIs. Start free — upgrade when you need more.</p> <p>Simple, transparent pricing for all four APIs. Start free — upgrade when you need more.</p>
</div> </div>
<div class="pricing-wrap"> <div class="pricing-wrap">
@@ -39,6 +39,7 @@ import Base from '../layouts/Base.astro';
<th scope="col">ZIP Enrichment</th> <th scope="col">ZIP Enrichment</th>
<th scope="col">Holidays</th> <th scope="col">Holidays</th>
<th scope="col">Air Quality</th> <th scope="col">Air Quality</th>
<th scope="col">VIN Decoder</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -48,6 +49,7 @@ import Base from '../layouts/Base.astro';
<td>100 req/mo &middot; 5 req/min</td> <td>100 req/mo &middot; 5 req/min</td>
<td>100 req/mo &middot; 5 req/min</td> <td>100 req/mo &middot; 5 req/min</td>
<td>100 req/mo &middot; 5 req/min</td> <td>100 req/mo &middot; 5 req/min</td>
<td>100 req/mo &middot; 5 req/min</td>
</tr> </tr>
<tr> <tr>
<td class="tier-name">Basic</td> <td class="tier-name">Basic</td>
@@ -55,6 +57,7 @@ import Base from '../layouts/Base.astro';
<td>5,000 req/mo &middot; 60 req/min</td> <td>5,000 req/mo &middot; 60 req/min</td>
<td>5,000 req/mo &middot; 60 req/min</td> <td>5,000 req/mo &middot; 60 req/min</td>
<td>5,000 req/mo &middot; 60 req/min</td> <td>5,000 req/mo &middot; 60 req/min</td>
<td>5,000 req/mo &middot; 60 req/min</td>
</tr> </tr>
<tr> <tr>
<td class="tier-name">Pro</td> <td class="tier-name">Pro</td>
@@ -62,6 +65,7 @@ import Base from '../layouts/Base.astro';
<td>25,000 req/mo &middot; 200 req/min</td> <td>25,000 req/mo &middot; 200 req/min</td>
<td>20,000 req/mo &middot; 200 req/min</td> <td>20,000 req/mo &middot; 200 req/min</td>
<td>20,000 req/mo &middot; 200 req/min</td> <td>20,000 req/mo &middot; 200 req/min</td>
<td>20,000 req/mo &middot; 200 req/min</td>
</tr> </tr>
<tr> <tr>
<td class="tier-name">Ultra</td> <td class="tier-name">Ultra</td>
@@ -69,6 +73,7 @@ import Base from '../layouts/Base.astro';
<td>100,000 req/mo &middot; 500 req/min</td> <td>100,000 req/mo &middot; 500 req/min</td>
<td>100,000 req/mo &middot; 500 req/min</td> <td>100,000 req/mo &middot; 500 req/min</td>
<td>100,000 req/mo &middot; 500 req/min</td> <td>100,000 req/mo &middot; 500 req/min</td>
<td>100,000 req/mo &middot; 500 req/min</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -77,6 +82,7 @@ import Base from '../layouts/Base.astro';
<a href="#" class="cta-btn">ZIP Enrichment on RapidAPI</a> <a href="#" class="cta-btn">ZIP Enrichment on RapidAPI</a>
<a href="#" class="cta-btn">Holidays on RapidAPI</a> <a href="#" class="cta-btn">Holidays on RapidAPI</a>
<a href="#" class="cta-btn">Air Quality on RapidAPI</a> <a href="#" class="cta-btn">Air Quality on RapidAPI</a>
<a href="/vin-decoder" class="cta-btn">VIN Decoder Docs</a>
</div> </div>
<p class="disclaimer">Subscriptions managed via RapidAPI marketplace. Prices shown in USD. Rate limits apply per API key.</p> <p class="disclaimer">Subscriptions managed via RapidAPI marketplace. Prices shown in USD. Rate limits apply per API key.</p>
+1
View File
@@ -9,4 +9,5 @@ resources:
- zip-enrichment - zip-enrichment
- holidays - holidays
- air-quality - air-quality
- vin-decoder
- image-automation - image-automation
+18
View File
@@ -0,0 +1,18 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: rapidapi-proxy-secret
namespace: vin-decoder
spec:
refreshInterval: 1h
secretStoreRef:
name: kubernetes-provider
kind: ClusterSecretStore
target:
name: rapidapi-proxy-secret
creationPolicy: Owner
data:
- secretKey: X-RapidAPI-Proxy-Secret
remoteRef:
key: rapidapi-vin-decoder-source
property: X-RapidAPI-Proxy-Secret
+101
View File
@@ -0,0 +1,101 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vin-decoder
namespace: vin-decoder
spec:
interval: 10m
chart:
spec:
chart: raw
version: ">=0.2.0"
sourceRef:
kind: HelmRepository
name: bedag
namespace: flux-system
interval: 60m
values:
resources:
- apiVersion: apps/v1
kind: Deployment
metadata:
name: vin-decoder
namespace: vin-decoder
spec:
replicas: 1
selector:
matchLabels:
app: vin-decoder
template:
metadata:
labels:
app: vin-decoder
spec:
imagePullSecrets:
- name: gitea-registry
containers:
- name: vin-decoder
image: registry.leeworks.dev/vin-decoder/api:latest # {"$imagepolicy": "flux-system:vin-decoder"}
ports:
- containerPort: 3000
env:
- name: RAPIDAPI_PROXY_SECRET
valueFrom:
secretKeyRef:
name: rapidapi-proxy-secret
key: X-RapidAPI-Proxy-Secret
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 500m
memory: 256Mi
livenessProbe:
httpGet:
path: /v1/health
port: 3000
initialDelaySeconds: 10
periodSeconds: 30
readinessProbe:
httpGet:
path: /v1/health
port: 3000
initialDelaySeconds: 5
periodSeconds: 10
- apiVersion: v1
kind: Service
metadata:
name: vin-decoder
namespace: vin-decoder
spec:
selector:
app: vin-decoder
ports:
- port: 80
targetPort: 3000
- apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vin-decoder
namespace: vin-decoder
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- vin.leeworks.dev
secretName: vin-decoder-tls
rules:
- host: vin.leeworks.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: vin-decoder
port:
number: 80
+6
View File
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- externalsecret.yaml
- helmrelease.yaml
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: vin-decoder