Deployment
Vercel Deployment
How to deploy your application on Vercel.
Vercel excels at deploying frontend applications and serverless functions.
- Hosting: Deploys the application as serverless functions.
- Limitations:
- Standard cron job patterns (like
node-cron
) will not work reliably due to the stateless Nnature of serverless functions. You might need to use Vercel Cron Jobs. - Background job queues (like BullMQ) are not suitable for this environment as they require a persistent process. Consider Vercel's background tasks or external services if needed.
- Standard cron job patterns (like
- Database: A platform like Neon or Supabase is recommended for PostgreSQL. Remember to uncomment the
DIRECT_URL
variable in yourschema.prisma
file when using connection poolers like Supabase's PgBouncer.