This guide provides a simplified deployment strategy using Render for the Backend/Database and Vercel for the Frontend. This approach bypasses local Docker issues by letting the cloud platforms build your application.
Aisenh037/FollowUpAI.We will deploy the Database, Redis, and the API Service.
followup-dbOregon (US West) (or closest to you).followup-redisOregon).redis://red-xxxx:6379).Aisenh037/FollowUpAI).followup-backendbackend (⚠️ Important!)Python 3Oregon).pip install -r requirements.txtuvicorn main:app --host 0.0.0.0 --port $PORTScroll down to “Environment Variables” and add these keys:
| Key | Value | Notes |
|---|---|---|
PYTHON_VERSION |
3.11.5 |
Ensures compatibility. |
ENV |
production |
|
DATABASE_URL |
(Paste Internal DB URL) | From Step 1. |
REDIS_URL |
(Paste Internal Redis URL) | From Step 2. |
SECRET_KEY |
(Any long random string) | Required for security. |
GROQ_API_KEY |
(Your Groq Key) | Required for AI. |
RESEND_API_KEY |
(Your Resend Key) | Required for Emails. |
RESEND_FROM_EMAIL |
FollowUpAI <onboarding@resend.dev> |
Or your verified domain. |
(Optional keys if you have them: TAVILY_API_KEY, WHATSAPP_ACCESS_TOKEN, etc.)
https://followup-backend.onrender.com).Now we connect the User Interface.
FollowUpAI).Next.js.frontend.NEXT_PUBLIC_API_URL/ at the end.https://followup-backend.onrender.comhttps://followup-ai.vercel.app).🎉 You are now deployed!