/ .env.template
.env.template
1 # Your Medusa backend, should be updated to where you are hosting your server. Remember to update CORS settings for your server. See – https://docs.medusajs.com/usage/configurations#admin_cors-and-store_cors 2 MEDUSA_BACKEND_URL=http://localhost:9000 3 4 # Your publishable key that can be attached to sales channels. See - https://docs.medusajs.com/development/publishable-api-keys 5 NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY=pk_test 6 7 # Your store URL, should be updated to where you are hosting your storefront. 8 NEXT_PUBLIC_BASE_URL=http://localhost:8000 9 10 # Your preferred default region. When middleware cannot determine the user region from the "x-vercel-country" header, the default region will be used. ISO-2 lowercase format. 11 NEXT_PUBLIC_DEFAULT_REGION=us 12 13 # Your Stripe public key. See – https://docs.medusajs.com/add-plugins/stripe 14 NEXT_PUBLIC_STRIPE_KEY= 15 16 # Your Next.js revalidation secret. See – https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#on-demand-revalidation 17 REVALIDATE_SECRET=supersecret