Railway

Deploy knocktell

Deploy and Host Knocktell with Railway

Deploy knocktell

Just deployed

/var/lib/postgresql/data

Deploy and Host knocktell on Railway

knocktell is a multi-tenant SaaS for recording and managing door-to-door visits on a map. Pick houses shown on a vector map, log outcomes such as "visited" or "no answer," and share progress across your organization in real time. Built for field reps on mobile and managers on desktop, with each tenant's data kept separate.

About Hosting knocktell

Hosting knocktell means running a Next.js (App Router) app backed by PostgreSQL. On deploy, the template provisions a Postgres database, runs migrations, and seeds a default organization automatically. Sign-in uses Auth.js with Auth0 (Google) — in production you supply three Auth0 values plus a session secret. The base map is drawn with MapLibre and Japan GSI optimized vector tiles, so no map API key is required. The app is host-agnostic: it only needs DATABASE_URL and DIRECT_URL, so the web service and database can scale independently. A /api/health endpoint backs Railway's health checks.

Common Use Cases

  • Door-to-door sales or canvassing teams tracking which households have already been visited
  • Coverage work where every address in an area must be accounted for (surveys, inspections, campaigns)
  • Field teams that need real-time, shared visit status separated per organization

Dependencies for knocktell Hosting

  • A PostgreSQL database (provisioned by this template)
  • An Auth0 tenant with a Google social connection (for production sign-in)

Deployment Dependencies

Implementation Details

Required environment variables: AUTH0_ISSUER, AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET, and AUTH_SECRET (generate with npx auth secret). DATABASE_URL and DIRECT_URL are wired to the bundled Postgres automatically. The first user to sign in becomes the organization admin; subsequent users join as "pending" and require admin approval before they can access data. Until Auth0 is configured, the app shows a "setup required" screen and stays locked, so it is never publicly open by accident.

Why Deploy knocktell on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying knocktell on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
[Jun'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta