Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 715 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 715 Bytes

Starter for Medusa 2 and Nuxt 3

This monorepo serves as a starter template/example for building D2C e-commerce applications using Medusa for e-commerce functionality and Nuxt for the frontend.

Quickstart

git clone git@github.com:doooooooomiki/medusa-nuxt.git

Medusa

cd medusa

# Create the .env file
cp .env.template .env

# Install dependencies
yarn

# Spin up the database and Redis
docker-compose up -d

# Build the project
yarn build

# Run the migrations
yarn medusa db:migrate

# Seed the database
yarn seed

# Create an user
yarn medusa user -e "admin@medusa.local" -p "supersecret"

# Start the development server
yarn dev