An all-in-one modern ecommerce template powered by Next.js, Medusa, and Bun. Tired of paying for expensive store backends? This bridges the gap between most free templates and production.
Ensure you have a Medusa server running locally on port 9000
. For quick setup, run:
npx create-medusa-app@latest
-
Clone the Repository:
git clone <url> cd next-medusa-template
-
Set up Environment Variables:
mv .env.template .env.local
Populate
.env.local
with your credentials, including:NEXT_PUBLIC_STRIPE_KEY=<your-stripe-public-key>
-
Install Dependencies:
bun install
-
Start Development Server:
bun dev
-
Access Your Store: Visit http://localhost:8000.
Add your Stripe Public Key to .env.local
:
NEXT_PUBLIC_STRIPE_KEY=<your-stripe-public-key>