Show HN: Transform your product catalog to payment hyperlinks

Medusa is an open-source headless commerce engine that enables developers to create amazing digital commerce experiences. Built with Medusa: Commerce engine Next.js: React framework Stripe: Payment provider Medusa React: Hooks and components for Medusa Prerequisites: To use Medusa Express, you need a Medusa server. Check out medusa-starter-default for a quick setup. 🚀 Get started! 1.…

106
Show HN: Transform your product catalog to payment hyperlinks


Medusa

Medusa is an open-source headless commerce engine that enables builders to produce unbelievable digital commerce experiences.


Medusa is released under the MIT license.


PRs welcome!


Discord Chat


Follow @medusajs

Constructed with

Medusa: Commerce engine

Next.js: React framework

Stripe: Charge provider

Medusa React: Hooks and formula for Medusa

Must haves: To employ Medusa Particular, you’d like a Medusa server. Take a look at out medusa-starter-default for a short setup.

🚀 Birth!

1. Produce your Medusa Particular mission

Bellow npx and acquire medusa.relate (rapid)

  npx produce-medusa-app@most modern

Bellow git clone

  git clone --depth=1 https://github.com/medusajs/medusa-relate-nextjs medusa-relate

2. Navigate to mission and set up dependencies

  cd your-express-folder>
  
  tale
  # or
  npm set up

3. Hyperlink your Medusa server

On your mission, it is best to hold a .env.template file with the following recount material:

NEXT_PUBLIC_MEDUSA_BACKEND_URL=http://localhost: 9000

Copy the template exact into a file frail for local pattern:

mv .env.template .env.local

Add Stripe API key as ambiance variable to complete orders:

# Stripe secret's required for ending orders
NEXT_PUBLIC_STRIPE_API_KEY=pk_test_... 

Your Medusa server runs within the neighborhood on port 9000 by default. Ensure to change the above ambiance variable, whereas you hold modified the port.

4. Are attempting it out!

Birth up both your Medusa server and Medusa Particular and compare out it out!

Medusa Particular is operating at http://localhost: 8000!

Crucial: Medusa Particular requires existing product. Either seed your Medusa server with some dummy merchandise, or produce yo

Read More

Charlie Layers
WRITTEN BY

Charlie Layers

Fill your life with experiences so you always have a great story to tellBio: About: