---
title: "Deploy refferq"
description: "Create, Manage, and Scale your affiliate programs"
category: "Other"
url: https://railway.com/deploy/refferq
---

# Deploy refferq

Create, Manage, and Scale your affiliate programs

**[Deploy refferq on Railway](https://railway.com/template/refferq)**

- **Creator:** akhil
- **Category:** Other
- **Total deploys:** 5

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### Refferq

- **Source:** Refferq/Refferq
- **Public domain:** Yes

## Documentation

# Deploy and Host Refferq on Railway

**Refferq** is a comprehensive affiliate management platform designed to help businesses create, manage, and scale their affiliate programs.  
It offers advanced features like real-time analytics, automated commissions, and white-label branding — all built with a modern full-stack architecture using **Next.js**, **Prisma**, and **PostgreSQL**.

---

## About Hosting Refferq

Hosting **Refferq** on **Railway** allows you to deploy a fully functional affiliate management solution with minimal setup.  
The platform handles your infrastructure, including the **Next.js server** and **PostgreSQL database**, ensuring smooth operation and scalability.

Railway simplifies:
- Environment management  
- Connection string setup  
- Continuous deployments from GitHub  

You can easily customize Refferq’s branding, email templates, and commission workflows while leveraging Railway’s automatic SSL and monitoring tools.  
Deploy Refferq in just a few clicks — no manual configuration or DevOps overhead required.

---

## Common Use Cases

- **SaaS startups** running their own affiliate or referral programs  
- **Agencies** offering white-labeled affiliate portals for clients  
- **Creators and marketers** tracking referral campaigns and commissions  

---

## Dependencies for Refferq Hosting

- **PostgreSQL** – Primary database for users, partners, and referral data  
- **Resend API Key** – Required for sending transactional and automated emails  
- **Environment Variables** – For JWT secrets, app URLs, and email configuration  

---

### Deployment Dependencies

- [Railway PostgreSQL Plugin](https://railway.app/template/postgres)  
- [Resend Email API](https://resend.com/)  
- [Prisma ORM Documentation](https://www.prisma.io/docs)  
- [Next.js Deployment Guide](https://nextjs.org/docs/app/building-your-application/deploying)  
---

### Why Deploy Refferq 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 Refferq 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.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/refferq
