Rust Axum plus Cloudflare Tunnel — Operating policy-api.graxel.ai Safely
Why GRAXEL uses Rust Axum and Cloudflare Tunnel for the policy API behind MyHyetaek.
The policy API behind MyHyetaek needs predictable latency and a clear security boundary. Rust Axum is a good fit for this kind of service because request handling, typed state, and explicit errors stay readable as the API grows.
Why this matters for GRAXEL
A public-data API has to be stable even when the frontend changes. It also has to avoid exposing the database directly to the public internet. The operational challenge is balancing performance, safety, and low infrastructure cost.
GRAXEL places the Rust API behind a tunnel and keeps the application code focused on search, ranking, and response shaping. Cloudflare Tunnel removes the need to open broad inbound ports, while Axum keeps routing and typed extractors close to the domain logic.
Operational notes
- Keep the user-facing promise narrow enough that the service can be verified in a browser.
- Document the boundary between automated AI output and source-backed data so reviewers can understand the workflow.
- Link the implementation back to the public trust pages: About GRAXEL, Contact, and the platform overview.
For a small SaaS portfolio, trust comes from showing the real operating system behind the product: what runs, why it exists, and how it is maintained.
What changed in practice
This pattern is useful for any service in the GRAXEL portfolio that needs more reliability than a quick serverless function but still has to stay inexpensive. The same pattern now influences how the portal presents public services: planned ideas stay out of the main catalog, while usable beta services and documented operating notes receive stronger internal links.
When this article is read together with the monorepo operations note and the zero-cost infrastructure note, it gives a more complete view of how GRAXEL turns small service ideas into maintained products.
Official references
Share
Related articles
Continue with GRAXEL posts connected by topic and tags.
Operating MyHyetaek RAG — Making 11,600 Government Policies Searchable
How GRAXEL structures policy data, hybrid search, and AI responses for the MyHyetaek government-benefits assistant.
Running Korean, English, and Japanese Pages with Next.js 15 and next-intl
How GRAXEL handles locale-specific routing, metadata, and crawler-facing content across ko, en, and ja.
Hybrid Search for Korean Policy Data — pgvector plus Full-Text Signals
Why GRAXEL combines vector search and text search for Korean public-policy retrieval.