Find the best country to relocate to — powered by AI.
🌐 Live: https://relo-ai-7rj3.vercel.app
People spend weeks researching where to relocate — comparing visa rules, cost of living, job markets, tax systems, and climate across dozens of countries. There is no single tool that gives a personalized, structured answer fast.
ReloAI takes your profession, monthly budget, and goals. It uses AI to analyze 195 countries and returns:
- Ranked shortlist of top 5 countries scored 0–100
- Visa type, requirements, and realistic timeline
- Real monthly cost ranges per destination
- Month-by-month relocation roadmap
- Step-by-step pre-move checklist
All in under 3 minutes.
- AI analysis of 195 countries based on user profile
- Scored ranking with pros and cons per country
- Visa and cost data per destination
- Month-by-month relocation roadmap
- JWT authentication (register / login)
- Analysis history saved per user
- Usage limits: Free 3/month · Pro unlimited
- Stripe payments integration
- Freemium SaaS model
| Technology | Role |
|---|---|
| Fastify 4 | High-performance HTTP server |
| TypeScript | Type safety |
| Prisma | ORM |
| PostgreSQL | Database |
| OpenAI API | AI-powered analysis |
| Stripe | Payment processing |
| JWT | Authentication |
| Zod | Input validation |
| bcryptjs | Password hashing |
| Technology | Role |
|---|---|
| Next.js 14 (App Router) | React framework |
| TypeScript | Type safety |
| Tailwind CSS | Styling |
| lucide-react | Icons |
| Technology | Role |
|---|---|
| Vercel | Frontend + backend hosting |
| PostgreSQL | Managed database |
- Node.js 18+
- PostgreSQL database
- OpenAI API key
git clone https://github.com/Tim124v/ReloAI.git
cd ReloAI
npm run setupCreate backend/.env:
DATABASE_URL=postgresql://user:password@localhost:5432/reloai
JWT_SECRET=your-secret-key-min-32-chars
OPENAI_API_KEY=sk-...
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
FRONTEND_URL=http://localhost:5000
PORT=8080Create frontend/.env.local:
NEXT_PUBLIC_API_URL=http://localhost:8080npm run dev- Frontend → http://localhost:5000
- Backend → http://localhost:8080
- Health check → http://localhost:8080/health
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /api/auth/register | — | Register new user |
| POST | /api/auth/login | — | Login, returns JWT |
| GET | /api/auth/me | JWT | Get current user |
| POST | /api/ai/analyze | JWT | Run AI analysis |
| GET | /api/requests | JWT | Get user history |
| GET | /api/requests/:id | JWT | Get single analysis |
| POST | /api/billing/checkout | JWT | Create Stripe session |
| GET | /health | — | Health check |
- Go to vercel.com → New Project
- Import this repo
- Set Root Directory:
frontend - Add env variable:
NEXT_PUBLIC_API_URL=<your backend URL> - Deploy
- Go to vercel.com → New Project
- Import this repo (second project)
- Set Root Directory:
backend - Add all env variables from
backend/.env - Deploy
- Neon — recommended
- Supabase
- Vercel Postgres
Timur Bakiiev
- GitHub: @Tim124v
- LinkedIn: timur-bakiiev
- Demo: relo-ai-7rj3.vercel.app
ReloAI — Making relocation decisions data-driven.