Back to Blog
    Release
    GizmoData Team
    December 2, 2026
    7 min read

    Cloud App Factory: build secure data apps on Hardcharger and ship every change with a git push

    Name an app and pick a Hardcharger cluster. App Factory gives you a secure, production-ready web app in your own private GitHub repository, with sign-in, HTTPS and separate dev and production already set up. Change it with Claude Code or Codex, push to dev to try it, merge to main to ship it.

    GizmoData Cloud
    App Factory
    Hardcharger
    GitHub
    Monitoring
    GizmoData Cloud App Factory with the sales dashboard’s dev and production environments in the portal

    Every data team gets the same request: “Can we turn this into a little app?” The query takes an afternoon. Everything around it takes weeks: a repository, hosting, HTTPS, sign-in, database credentials, separate dev and production, and a pipeline to deploy it all. Then someone has to keep it running.

    GizmoData Cloud App Factory does that part for you. Give the app a name and pick your Hardcharger cluster. In return you get a secure, production-ready app in a private GitHub repository you own, and a fast loop to change it: ask Claude Code or Codex for a change, push to dev to try it, merge to main to ship it. Sign-in, HTTPS, database credentials and deploys are already handled, so every change you make goes out as safely as the first.

    App Factory starts you off with a sample sales dashboard, but that’s only a starting point. The point is what surrounds it.

    Sign up for GizmoData Cloud to follow along, or watch the walkthrough video.

    Iterate fast

    • Code you own. A private repository in your GitHub account, started from our open-source (Apache-2.0) template: Next.js 16, React 19 and Auth.js. Change anything in it, or replace the sample app entirely.
    • Ready for coding agents. The repository’s AGENTS.md (which Claude Code reads through CLAUDE.md) tells your coding assistant how the app signs people in, how to query Hardcharger and which checks to run before pushing.
    • Deploys with a git push. Push to dev and GitHub Actions tests, builds and deploys it to the dev address. Merge into main to release to production.
    • A safe place to try things. Dev and production each have their own HTTPS address, database schema and database user on your Hardcharger cluster, so a test write in dev never lands in production.

    Secure and robust by default

    • Sign-in your team already has. People sign in with their GizmoData Cloud account through OpenID Connect. Only members with at least a reader role on the app’s project environment get in, and someone you remove is signed out within 10 minutes.
    • HTTPS from the start. GizmoData Cloud sets up the TLS certificate for each address and checks that HTTPS works before it shows you the link.
    • Least-privilege data access. The app connects to Hardcharger as its own database user, never as you, and reads anything outside its own schema only where an administrator grants it.
    • No secrets in GitHub. Each deploy run proves who it is with its own GitHub OIDC token, accepted only from your repository. Database credentials never go to GitHub at all.
    • A failed deploy doesn’t go quietly. If the new version doesn’t start or doesn’t answer its health check, the deploy run fails with the reason. A production release is tagged and published only after its rollout succeeds.
    • A locked-down runtime. The app runs as an unprivileged user on a read-only file system and keeps no state of its own: sessions live in encrypted cookies and data in Hardcharger, so any copy of the app can answer any request.
    • No compute bill while dev sits idle. Dev sleeps after 15 minutes without visitors, and the next visit wakes it.

    Step 1: Create the app

    An organization admin connects GitHub once, in Organization → GitHub → Connect GitHub, and chooses the GitHub account that will own your apps’ code. The installation needs access to all repositories in that account, because App Factory creates a new one for each app.

    Then, with a writer role in a project environment, open Apps → New app. We’ll call ours sales-dashboard. The name becomes part of the repository, the web addresses and the database schemas, so pick one you want to keep. Choose a Hardcharger cluster (it needs access control turned on and a writable default catalog), a compute size for dev and for production, and who can reach the app. The last step shows both addresses, the repository, the cluster and the estimated compute cost before you select Create app.

    Create App wizard reviewing the sales-dashboard repository, Hardcharger cluster and settings for dev and production View full-size screenshot
    Review both environments before you create the app. The portal screenshots use a fictional organization and illustrative prices.

    Step 2: Sign in and use it

    App Factory prepares the database schemas, the sign-in clients and the runtime, creates the repository, and GitHub Actions deploys it. Open the dev address and select Sign in with GizmoData Cloud. Each app environment has its own sign-in client, and the app connects to Hardcharger as its own database user, never as you.

    Sales Dashboard sign-in screen with the Sign in with GizmoData Cloud button
    At the app’s web address, your team signs in with their GizmoData Cloud accounts.

    The dashboard ranks the top ten customers by revenue and shows revenue by nation, from the shared TPC-H sample data in tpch_gizmodata. Another page reads and writes the app’s own data. Save a record at the dev address: it goes into sales_dashboard_dev, while production uses sales_dashboard, so you can test writes without touching production.

    Signed-in Sales Dashboard ranking the top ten customers by revenue using TPC-H sample data
    A working, signed-in dashboard on Hardcharger before you’ve written a line of code.

    Step 3: Change it with Claude Code or Codex

    Because the repository is yours, your coding assistant works in it like any other project. Its AGENTS.md tells Claude Code and Codex to check the user’s session before a query, to use the app’s Hardcharger connection helpers, and to run the tests, type checks, build and release checks before pushing.

    Open a checkout and ask: “Show the top 20 customers by revenue instead of 10, and update the table heading to match.” Review the diff to check that both the SQL limit and the heading changed, then commit.

    Step 4: Push to dev, merge to production

    Push the commit to dev. GitHub Actions builds the app and deploys it to the dev address, and the portal shows which commit is running there, with a link to the workflow run. Check that the table now shows 20 customers. When you’re happy, merge into main, and the same change goes to production.

    App detail page for sales-dashboard with separate dev and production addresses and deployment information
    One card per environment: its address, the commit it runs and its latest deployment.

    Ready to use your real sales tables? Have a cluster administrator grant the app’s database role access to them. The Database access card lists the role names for each environment.

    See how your app is doing

    Every app’s page has Monitoring, like a database cluster’s. Keep the page Vertical to see everything at once, or switch it to Tabbed for Overview, Monitoring, Deploys, Access, Database and Settings. Overview already sums up each environment’s last hour in one line, with a link to its Monitoring, or says the environment is asleep.

    Overview tab of the Field Notes app: production’s last hour reads p95 197 ms, 0.13% errors and 1 restart (1 out of memory); dev is asleep, so there is nothing to measure
    Production’s last hour in one line: p95 latency, server errors and restarts. These screenshots show a fictional app with made-up numbers.

    Open Monitoring and choose Production or Dev. The visitor card counts distinct Cloud accounts that used that environment in the last 24 hours and seven days. Each account counts once per UTC day in the chart, even if it returns several times. Today’s striped bar shows the day so far. Use the time range to inspect requests, server errors, p95 latency, restarts and ready replicas.

    • Resources shows total CPU and network traffic across replicas. The memory chart follows the replica using the most memory at each point. The restart history shows when a replica ran out of memory.
    • Traffic: every request to the environment’s address, counted at the apps gateway where it enters, so it works for every app: requests per second by status, the server error rate, and latency at p50, p95 and p99.
    • App: what the app reports about itself, from the metrics the app template serves: where a request’s time goes (the whole request against the database query and the wait for a database connection), database queries and their errors, the worst event-loop lag across replicas, the largest JavaScript heap and server errors by route.
    • Web Vitals: how fast the app feels in your visitors’ browsers, at the 75th percentile: LCP, INP, CLS, FCP and TTFB, each marked Good, Needs improvement or Poor by Google’s Core Web Vitals thresholds. Only signed-in visits report.
    Production monitoring shows 42 signed-in visitors in 24 hours, 128 in seven days and a daily visitor chart.
    The weekly total counts an account once even when it appears on several daily bars.
    Resources charts show total CPU, peak memory on one replica, network traffic and a restart.
    One replica reached its memory limit and restarted. The memory chart shows the drop after the restart.
    Traffic card: requests per second by status class, the server error rate and latency at p50, p95 and p99
    Traffic is measured at the apps gateway, so even an app that reports nothing about itself gets requests, errors and latency.
    App card: whole request against database query time, database queries per second, the worst event-loop lag, the largest JavaScript heap and server errors by route
    The gap between the whole request and the database query is time spent in the app’s own code.
    Web Vitals card with LCP, INP, CLS, FCP and TTFB at the 75th percentile, each marked Good or Needs improvement
    Web Vitals at the 75th percentile, against Google’s thresholds.

    The app serves its metrics on a separate port that is never on its address, and GizmoData Cloud reads them straight from each replica, so checking never wakes an asleep app. While an environment sleeps, its charts grey out that time and nothing is charged. An app made from an earlier template still gets Resources and Traffic, and its App card explains how to add the rest.

    Pay for the app only while it’s used

    Sleep when idle is on by default for dev and off for production. After 15 minutes without visitors, dev goes to sleep and its compute costs drop to zero until the next visit wakes it. You can change the idle period on the environment card. Usually the first page just takes a little longer to load; if the app needs more time, visitors see This app is waking up, which refreshes until the app answers. You can also stop dev entirely while production keeps serving your team.

    Not just dashboards

    The sales dashboard is only the starting point. Keep the customer rankings and add a chart, or replace the app entirely: an inventory team could build a stock-count screen that queries its own inventory tables and saves adjustments to the app’s schema. Whatever you build, the sign-in, HTTPS, database access and deploys are already done.

    So, what will you build?

    Sign up for GizmoData Cloud, open Apps → New app, and ship your first change.

    Run it on GizmoData Cloud

    Subscribe to Our Newsletter

    Stay updated with the latest news, features, and insights from GizmoData.

    Free, and you can unsubscribe at any time. Pressing Subscribe loads the sign-up form from Substack, which sends the newsletter. Read past issues

    Ready to Try Hardcharger?

    The DuckDB 2.0 server: open source, on the open Chargewire protocol, with every feature included

    Schedule a demo!powered by Calendly