Deploying NestJS Applications using Vercel and Supabase: A Step-by-Step Guide

Are you looking to deploy your NestJS application using Vercel and Supabase? This guide provides a step-by-step walkthrough of the process. First, set up your Supabase account and create a new project. Connect your PostgreSQL database and test the connection on your local machine. Next, create a new project in your Vercel account and connect it to your Git repository. Import your .env file and click the Deploy button.

However, you may encounter an error message during deployment. This is due to Vercel needing to know your output directory during the build process. To fix this, add a vercel.json file with the necessary configuration. Run deployment again, and you should be able to deploy your application successfully.

Source: https://dev.to/abayomijohn273/deploying-nestjs-application-using-vercel-and-supabase-3n7m

Reply to this note

Please Login to reply.

Discussion

No replies yet.