Deploy Lookalyke
Stateful API emulators for development, integration tests, and CI
lookalyke
Just deployed
/data
Deploy and Host Lookalyke on Railway
Lookalyke gives your team a shared sandbox for Stripe, Twilio, OpenAI, and dozens of other APIs. Point your existing SDKs at its HTTPS endpoints to test stateful responses, signed webhooks, and failure handling without opening vendor accounts or sending real payments or messages.
For development and testing only. Use synthetic data and Lookalyke sandbox keys.
About Hosting Lookalyke
This template deploys one service from the public Lookalyke repository. It includes a Railway HTTPS domain and a persistent volume mounted at /data for SQLite. The repository’s Dockerfile and Railway configuration handle the build and health check.
- Deploy the template and wait for the service to become healthy.
- Open the generated HTTPS domain promptly and complete owner setup before sharing the address with teammates. You can enable passkeys from the dashboard.
- Open a service in the dashboard, select Connect, and copy its base URL and sandbox key into your app’s development or CI environment. Start with a sample request and check Activity for the result.
Common Use Cases
- Run integration tests for payments, messaging, and other APIs using your existing SDKs and repeatable sandbox data.
- Exercise retries and error paths with simulated HTTP errors, delays, and connection failures.
- Trigger signed webhooks and inspect delivery attempts. Use
npx lookalyke listento receive hosted sandbox webhooks on your laptop.
Dependencies for Lookalyke Hosting
- One Railway service with an HTTPS domain and a persistent volume at
/data. SQLite runs inside the service. - The template sets
LOOKALYKE_PUBLIC_URLfrom the generated domain so the dashboard uses the correct HTTPS origin. Deployment requires no vendor API keys or separate database service.
Implementation Details
- The health endpoint is
/_lookalyke/health. - To enable direct outbound webhooks, set
LOOKALYKE_ALLOWED_WEBHOOK_HOSTSto a comma-separated list of destination hosts. Leave it unset if you only need the local listener or API emulation. - To choose the providers enabled in the first sandbox, set
LOOKALYKE_APPSto a list such asstripe,twilio,resend.
Why Deploy Lookalyke on Railway?
Give developers and CI one stable HTTPS address with persistent sandbox data. Teammates can inspect the same test events, and each workflow can use its own sandbox keys and data.
Website · Source code · Railway setup guide · SDK and webhook guide
Template Content
lookalyke
jviars/lookalyke