- A web deployment target
- A Postgres database
- A Blockfrost project key
- Your app environment variables
Suggested setup order
Add your environment variables
At minimum, set your database connection string, Blockfrost key, auth
secrets, and the public app URL.
Apply the schema
OnceDATABASE_URL is configured:
Inspecting data locally
Environment reference
| Variable | Purpose |
|---|---|
DATABASE_URL | Postgres connection string |
BLOCKFROST_PROJECT_ID | Mainnet project key |
CRON_SECRET | Background refresh authentication |
AUTH_SECRET | Session encryption |
AUTH_URL | Canonical public URL for Auth.js, for example https://www.hizz.io |
GOOGLE_CLIENT_ID | Google OAuth web client ID |
GOOGLE_CLIENT_SECRET | Google OAuth web client secret |
https://www.hizz.io/api/auth/callback/google. If you serve another stable
domain, replace https://www.hizz.io with that domain and keep AUTH_URL in
sync.
If you only want to use Hizz, the hosted product at hizz.io
already includes the required infrastructure.
