Demo deployment: Render (free) + Neon (free) at avatax.bowers.cloud
A public demo of the service. It uses the simulated tax engine (no Avalara account), live Bank of Canada exchange
rates, in-memory messaging, and a free Neon Postgres. Everything is configured in render.yaml.
The demo API key grants full access, and the service refuses to start with it unless the tax engine is
Simulated. Never put real Avalara credentials or real customer/vendor data in this deployment.
Free-tier behaviour: Render puts the service to sleep after about 15 minutes idle, and the next request takes
roughly 30–60 seconds while it wakes. Scheduled jobs (rate import, retries) only run while it's awake; trigger one by
hand with POST /api/v1/admin/jobs/{name}/run. Neon also suspends its database when idle and wakes in under a second.
1. Create the database (Neon)
- Sign up at https://neon.tech (free) and create a project named
pvc-integrations, databaseintegrations, region AWS US West 2 (Oregon) (same region as the Render service). - On the project dashboard, open Connect, turn off "Connection pooling", and copy the connection string. It
looks like
postgresql://…@ep-xxxx.us-west-2.aws.neon.tech/integrations?sslmode=require….- Use the direct connection, not the
-poolerhost: the service relies on session-level Postgres advisory locks, which a transaction-pooling proxy breaks. - The service accepts this URL form as-is.
- Use the direct connection, not the
2. Create the service (Render)
- Sign up at https://render.com with GitHub and give it access to
JDoyleB/AvaTax. - New → Blueprint, pick
JDoyleB/AvaTax(branchmain). Render readsrender.yamland proposes the servicepvc-integrations-demoon the free plan. - When asked for
ConnectionStrings__Integrations, paste the Neon connection string from step 1. - Apply. The first build takes a few minutes. On startup the service creates its tables and seeds two demo
entities (
PVCin USD,DXT-CAin CAD) plus sample tax-code mappings for every line category. - Check
https://pvc-integrations-demo.onrender.com/health/readyreturnsHealthy, and open/docs/. - Copy the generated
Auth__DemoKeyfrom the service's Environment tab. Send it as theX-Api-Keyheader (the docs page has an "ApiKey" auth option).
After this, every push to main redeploys automatically.
3. Point avatax.bowers.cloud at it
- In Render: service → Settings → Custom Domains.
avatax.bowers.cloudis already listed fromrender.yaml; Render shows the target (pvc-integrations-demo.onrender.com). - Add a DNS record where bowers.cloud's DNS is managed:
- If the domain uses Vercel's nameservers (Vercel → Domains → bowers.cloud → DNS Records): add
CNAME avatax → pvc-integrations-demo.onrender.com. - Otherwise, at the registrar's DNS settings: the same CNAME.
- The main site at bowers.cloud is untouched; only the
avataxsubdomain points at Render.
- If the domain uses Vercel's nameservers (Vercel → Domains → bowers.cloud → DNS Records): add
- Back in Render, click Verify. The TLS certificate is issued automatically, usually within a few minutes.
Result: https://avatax.bowers.cloud opens the playground, a page with a form for each endpoint (prefilled with
sample data), formatted results, a copy-as-curl button and two explainers. Paste the demo key into the box at the top;
it stays in that browser only. The documentation hub is at /docs/ and the API reference at /docs/api. Set Playground__Enabled to false
to turn off the playground; / then redirects to /docs/.
4. Try it
KEY=<Auth__DemoKey from Render>
BASE=https://avatax.bowers.cloud
# Today's USD→CAD rate (live Bank of Canada)
curl -H "X-Api-Key: $KEY" "$BASE/api/v1/fx/rates?from=USD&to=CAD"
# Tax estimate for a PO: HVAC labor + materials at an Austin, TX job site (simulated rates)
curl -H "X-Api-Key: $KEY" -H 'Content-Type: application/json' "$BASE/api/v1/tax/estimates" -d '{
"entityId": "PVC", "direction": "Payable", "counterpartyCode": "VEND-1",
"jobSite": { "line1": "100 Congress Ave", "city": "Austin", "region": "TX", "postalCode": "78701", "country": "US" },
"lines": [ { "category": "Labor", "amount": 250, "workType": "HVAC" }, { "category": "Material", "amount": 100 } ] }'
Housekeeping
- Change the demo key: Render → Environment →
Auth__DemoKey→ set any value (or generate one) → save (redeploys). A short key is easy to guess; that's acceptable here only because the key works solely with the simulated tax engine. - Reset demo data: drop and recreate the Neon database (Neon → Branches → reset). The next start re-seeds it.
- Take it down: suspend the Render service and remove the CNAME.
- Render's free plan includes a monthly allowance of running hours; one demo service fits within it.