Vercel
vercel.com
If you want to host the template in vercel.com then follow the below command
API
It's not possible to host the API to vercel. Vercel doesn't support laravel API deployment. So you've to host the API on a separate server. We suggest you create a VPS server and host the API there. For more details, follow this VPS Deployment docs.
After the host, you'll get your API URL.
Frontend
Now for frontend add API URL and other necessary con fig details to,
shop -> vercel.json
admin -> rest -> vercel.json
For graphql
admin -> graphql -> vercel.json
after that, install vercel-cli on your computer using this command,
npm i -g vercel-cli
After that, log in to vercel using this command,
vercel login
Then go to the shop
directory and use this command to deploy,
vercel
Similarly, go to the admin -> rest
directory and use this command to deploy,
vercel
For graphql
admin -> graphql -> vercel.json
For more details,
Please follow nextjs deployment docs: