Перейти к содержимому

GitHub Setup & Vercel Deployment | Stripe Webhooks & Cloudinary Configuration

DevTrail Stories

0:00 / 0:00

GitHub Setup & Vercel Deployment | Stripe Webhooks & Cloudinary Configuration

14 просмотров · 9 дн. назад
DevTrail Stories
17 подписчиков
14 просмотров · 9 дн. назад
What You'll Learn: How to create a GitHub account and upload your project source code to a GitHub repository. How to configure your Git identity and push your project files to GitHub. How to deploy your Next.js and Payload CMS e-commerce website to Vercel. How to configure your environment variables on Vercel. How to connect your deployed website to MongoDB Atlas. How to configure a Stripe webhook for your deployed website to receive payment events and update orders correctly. How to set up Cloudinary for image and video storage. Why Cloudinary is required for storing and serving videos. How image storage works when deploying to Vercel, and why Cloudinary is required for persistent image storage in this setup. How to use local file storage for images when hosting on a server with persistent storage, such as Hostinger, instead of using Cloudinary image URLs. How to update your website settings after deployment and test that everything works correctly. Important Notes: Vercel uses serverless infrastructure, so local file uploads are not suitable for persistent image storage. Configure Cloudinary for images when deploying to Vercel. If you host your website on a server with persistent file storage, such as a suitable Hostinger hosting plan, you can use local file storage for images instead. Videos must use Cloudinary URLs regardless of where you host the website. Make sure your Stripe webhook endpoint uses your deployed website URL followed by `/api/stripe/webhook`. Useful Links: GitHub: https://github.com/ Vercel: https://vercel.com/ MongoDB Atlas: https://account.mongodb.com/account/l... Cloudinary: https://cloudinary.com/ Stripe Dashboard: https://dashboard.stripe.com/ Coffee & Tea Full-Stack E-Commerce Website Get the complete source code for only $5! Live Demo: https://coffee-and-tea.vercel.app/en Demo Video:    • Full Stack E-Commerce Website | Next.js + ...   Purchase the full source code: https://young68.gumroad.com/l/fully-d... This video is the final part of the Coffee & Tea full-stack e-commerce project setup series.