VisaFlow Pro Documentation
Complete technical documentation for installing, configuring, customizing, and operating your white-label visa processing platform.
Overview
VisaFlow Pro is a complete, production-ready visa management platform built with Next.js, TypeScript, Tailwind CSS, and MySQL. It includes all the features needed to launch a branded visa processing business — application management, country and visa type listings, payment integration, admin dashboard, user accounts, and more.
The platform is designed for agencies, consultants, and entrepreneurs who want to offer visa services under their own brand without paying monthly SaaS fees. You own the full source code, deploy it on your own infrastructure, and maintain complete control over your data and business logic.
Next.js 14
React framework
MySQL
Reliable database
SSL Ready
Secure by default
Multi-language
i18n support
System Requirements
Server Requirements
- Node.js 18.x or higher
- MySQL 8.x (or Aiven/PlanetScale compatible)
- 2GB RAM minimum (4GB recommended)
- 10GB storage for application + uploads
- SSL certificate for HTTPS
Supported Browsers
- Chrome 90+
- Firefox 90+
- Safari 15+
- Edge 90+
- Fully responsive — mobile, tablet, desktop
Installation
Quick Start
git clone https://github.com/wpcodingpress/visaflow-pro.git cd visaflow-pro npm install cp .env.example .env # Configure your database and API keys npm run dev
The development server starts at http://localhost:3000
Database Setup
The platform uses Prisma ORM for database management. After configuring your MySQL connection string in .env, run:
npx prisma db push --accept-data-loss npx prisma generate
This creates all required tables and generates the Prisma client.
Configuration
All configuration is managed through environment variables in your .env file. Key configuration areas include:
Application URL
NEXT_PUBLIC_APP_URL — Your production domain
Email Integration
RESEND_API_KEY — Transactional emails via Resend
Payment Gateway
GUMROAD_* — License verification and sales
Database Connection
DATABASE_URL — MySQL connection string
Authentication
NEXTAUTH_SECRET — NextAuth encryption key
API Security
WP_WEBHOOK_SECRET — Webhook signature verification
Customization
VisaFlow Pro is designed to be fully white-labeled. You can customize every aspect of the platform to match your brand:
Branding
Logo, favicon, colors, company name, tagline — all configurable
Visual Assets
Replace all images, icons, and illustrations with your own
Content
Visa types, country pages, requirements, fee schedules
Domain
Deploy on your own domain with your own SSL certificate
Email Templates
Customize all transactional email templates
Source Code
Full access to modify any component, page, or logic
Deployment
Deployment Options
The platform can be deployed to any hosting provider that supports Node.js applications:
- Render — Recommended. One-click deploy from GitHub. Automatic HTTPS, zero-downtime deploys.
- Vercel — Optimized for Next.js. Edge functions, ISR, automatic scaling.
- DigitalOcean — Full control. Droplet or App Platform with Docker.
- AWS — Enterprise-grade. ECS, EC2, or Elastic Beanstalk.
- Any VPS — Hetzner, Linode, Vultr — any Linux server with Node.js.
Security
- All passwords hashed with bcrypt
- Session management with NextAuth + JWT tokens
- SQL injection prevention via Prisma ORM
- XSS protection with React's built-in escaping
- CSRF protection via NextAuth
- Rate limiting on API routes
- IP-based request logging for audit trails
API Integration
VisaFlow Pro includes a comprehensive REST API for integrations with external systems. The API is organized around the following endpoints:
/api/visa-typesList all visa types with requirements/api/countriesList supported countries with visa policies/api/applicationsSubmit a new visa application/api/applications/[id]Get application status and details/api/contactsSubmit a contact/lead form/api/ordersList orders and invoicesMaintenance
Routine Tasks
- Weekly database backups
- Monthly dependency updates (npm audit, npm update)
- Quarterly security review
- SSL certificate renewal monitoring
- Log rotation and retention policy
Troubleshooting
Database connection fails
Verify your DATABASE_URL in .env. Ensure your MySQL host allows connections from your server's IP address. For Aiven/PlanetScale, verify SSL mode is enabled.
Emails not sending
Check your RESEND_API_KEY. Verify the EMAIL_FROM domain is verified in Resend. Check the Resend dashboard for delivery logs.
Login not working
Ensure NEXTAUTH_SECRET and NEXTAUTH_URL are correctly set. NEXTAUTH_URL must match your production domain exactly.
Images not loading
Verify the upload directory has correct permissions. Check that the file paths in the database match the actual file locations.
Build fails on deployment
Ensure all environment variables are set on your deployment platform. Check Node.js version compatibility. Review build logs for specific errors.
Frequently Asked Questions
Do I need coding experience?
Basic familiarity with the command line and web hosting is helpful, but our onboarding team will guide you through the entire setup process at no additional cost.
Can I host on multiple domains?
Yes. The license allows you to deploy the platform for your own use on your own domains. Each purchase is for a single agency/business entity.
Is there a monthly fee?
No. VisaFlow Pro is a one-time purchase. There are no subscriptions, recurring fees, or revenue sharing requirements.
Do you provide updates?
Yes. Major updates and security patches are provided as part of your purchase. Source code is delivered via GitHub repository access.
Can I get a refund?
Due to the digital nature of the product (full source code delivery), all sales are final. Please review the product details thoroughly before purchasing.
What support do you offer?
Purchasers receive deployment assistance via our onboarding wizard, email support at support@wpcodingpress.com, and WhatsApp instant support.
Need personalized setup help?
Our team is ready to assist you with installation and configuration.
Ready to Get Started?
Purchase VisaFlow Pro and receive the complete source code, documentation, and setup guidance — all included in one price.