From the course: Build with AI: Create a Follow-Up App with React, Supabase, and Cursor
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Deploying to Vercel
From the course: Build with AI: Create a Follow-Up App with React, Supabase, and Cursor
Deploying to Vercel
- [Instructor] Now that your application's features are complete, let's deploy the front-end to Vercel. You connect the GitHub repo, configure the environment variables, and use Cursor AI to generate any accessory files. Ensure your code is committed and pushed to GitHub. And if you dunno what GitHub is, I'll actually show you. Then, a branch naming doesn't matter. So just use the main, which is the major one to push or to house all your code for the purpose of versioning. Your project should also include all source code and the .gitignore files to ensure that you don't push your ENV file to GitHub. This is the gitignore file and showing that, okay, all of these files are not pushed to GitHub. Then this is an example file, which will be pushed to GitHub. Then the .env file is grayed out in your code base, which means it will not be pushed to Git. So no matter what changes you make to that file, it will not be tracked…