Next.js Deployment Guide
We recommend using Vercel for deploying this project due to its simplicity and ease of use. However, other similar platforms can also be used.
1. Connect Your GitHub Repository
First, link your GitHub repository to Vercel or your chosen deployment platform.
2. Set Up Essential Environment Variables
When deploying, you'll need to configure crucial environment variables:
In production, you'll need to set up many more variables, such as those for Stripe, mailer configurations, and others. Please refer to the .env
, .env.local
, and .env.production
files in your project, as well as any custom variables you've defined, to ensure all necessary variables are added. For detailed explanations of each environment variable, please refer to the Environment Variables.
3. Configure Your Domain
Finally, set up your custom domain for the deployed project.