Deployment Guide

Overview Deployment Architecture API Reference Local Setup Security

Production URLs

The application is currently deployed and accessible at:

Backend (Render)

1

Connect Repository

Link your GitHub repo to Render.

2

Configuration

Root Directory: backend

Build Command: pip install -r requirements.txt

Start Command: uvicorn app.main:app --host 0.0.0.0 --port 10000

3

Environment Variables

Add all strictly required variables (Keys, DB URL, etc.).

Frontend (Vercel)

1

Import Project

Import the same repo into Vercel.

2

Configuration

Root Directory: app-frontend

Framework Preset: Next.js

3

Environment Variables

Set NEXT_PUBLIC_API_BASE_URL to your Render backend URL.

Environment Variables

Backend Variables

SECRET_KEY=...
ENCRYPTION_KEY=...
GROQ_API_KEY=...
OPENAI_API_KEY=...
GEMINI_API_KEY=...
ENVIRONMENT=production
ALLOWED_ORIGINS=https://londoolink-ai.vercel.app,http://localhost:3000
DATABASE_URL=postgresql://...
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30

Frontend Variables

NEXT_PUBLIC_API_BASE_URL=https://londoolink-ai.onrender.com