/medusa-demo

A demo website powered by Medusa.js

Primary LanguageTypeScript

MedusaJS Demo

A demo website powered by Medusa and Next.js ⚛️!

Tutorial

To learn how to build this, please visit https://lo-victoria.com/how-to-build-a-nextjs-e-commerce-website-with-medusa

How to Use

  1. git clone https://github.com/victoria-lo/medusa-demo.git
  2. cd client && npm install
  3. cd server && npm install
  4. Create .env file in server directory with the following variables:
DATABASE_TYPE=postgres
DATABASE_URL=postgres://postgres:{PASSWORD}@localhost/{DB_NAME}
  1. Run npm run dev on both client and server directory

Screenshot

image