Deploy Codra with Railway

Provision a Railway PostgreSQL database and connect Codra to it through Cloudflare Hyperdrive for production deployments.

Railway PostgreSQL setup

Provision a PostgreSQL service on Railway and retrieve the public TCP proxy connection string for use as Codra’s production PostgreSQL database.

Cloudflare Hyperdrive

Use Cloudflare Hyperdrive to pool and accelerate database connections from the Worker runtime, then bind the Hyperdrive ID in wrangler.jsonc.