
Deploy Nestled.js Setup Template
Production infrastructure for Nestled.js
PgBouncer
Just deployed
Just deployed
/var/lib/postgresql/data
Just deployed
Just deployed
Just deployed
/bitnami
Deploy and Host Nestled.js Setup Template on Railway
Nestled.js is a production-ready NestJS + React starter template with authentication, organizations/teams, RBAC, Stripe billing, admin panel, and a fully generated GraphQL SDK. It provides a clean foundation so you only build your custom features.
About Hosting Nestled.js Setup Template
Deploying Nestled.js requires a PostgreSQL database, a NestJS GraphQL API server, and a React frontend. The template handles database migrations, Prisma client generation, and builds both apps automatically. You'll need to configure environment variables for JWT secrets, email (SMTP), and optionally OAuth providers (Google, GitHub), Stripe billing, and file storage (ImageKit, S3, Cloudinary). The first user to register automatically becomes super admin. PgBouncer connection pooling is included for production database performance.
Common Use Cases
- SaaS applications requiring multi-tenant organizations, team invitations, and role-based access control
- Subscription-based products with Stripe billing, plan management, and webhook handling
- Internal tools and admin dashboards with audit logging, user management, and generated CRUD APIs
Dependencies for Nestled.js Setup Template Hosting
- PostgreSQL (provisioned automatically by this template)
- Node.js 20+ with pnpm
Deployment Dependencies
- Nestled.js Documentation — full setup guide, schema configuration, and feature documentation
- Stripe Dashboard — for billing keys, webhook secrets, and product configuration
- Google Cloud Console — for Google OAuth (optional)
- GitHub Developer Settings — for GitHub OAuth (optional)
- An SMTP provider (SendGrid, AWS SES, Mailgun, etc.) for transactional emails
Why Deploy Nestled.js Setup Template 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 Nestled.js Setup Template 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
PgBouncer
railwayapp/pgbouncer:latestAPP_NAME
Use capitalization as this is used in emails i.e. Welcome to AppName
SITE_URL
Url of your front end app. Usually https://yourdomain.com or https://app.yourdomain.com
APP_EMAIL
The apps default 'from' email for forgot password, etc
EMAIL_PROVIDER
Choose an email provider - delete or leave blank for smtp, or choose mailgun or sendgrid - you then have to configured that sender in the app
ALLOWED_ORIGINS
What domains can make graphql api requests - https://yourdomain.com,https://www.yourdomain.com - comma separated list - if you hit CORS issues later, you probably did this wrong
APP_ADMIN_EMAILS
Emails that contact forms go to, and can be used for future admin notifications.
STORAGE_PROVIDER
File storage: local, s3, cloudinary, imagekit, or gcs (default: local)
API_COOKIE_DOMAIN
Your root domain (e.g., .yourapp.com - with the leading dot)
APP_SUPPORT_EMAIL
Default 'Reply To' address and used on all 'Need Help?' links
VITE_API_URL
Your API's public domain - https://api.yourdomain.com