/medusa-appwrite-store

Medusa Appwrite Store

Primary LanguageTypeScript

Medusa Appwrite Store

Medusa Hackathon 2022

About

Participants

Steven

  • GitHub - @stnguyen90
  • Twitter - @stnguyen90
  • Discord - BalistarDrake#3823

Description

This is a demo of the Appwrite Swag Store built using Medusa, an open source e-commerce platform.

Preview

Mobile

Mobile Home

Mobile Menu

Mobile Collection

Desktop

Desktop Home

Deskop Collection

Set up Project

Prerequisites

Make sure you have the following installed:

  • Node.js v14 or greater installed on your machine

Install Project

  1. Install Medusa CLI

    npm install -g @medusajs/medusa-cli
  2. Seed the backend

    cd backend
    medusa seed -f ./data/seed.json
  3. Start the backend

    medusa develop
    cd ..
  4. Start the admin console

    cd admin
    npm i
    npm start
    cd ..
  5. Create the following collections and add the relevant products:

    1. Women
      • handle: women
      • products
        • appwrite-womens-joggers
    2. Men
      • handle: men
      • products
        • appwrite-mens-joggers
        • appwrite-mens-t-shirt-v2
    3. Kids
      • handle: kids
      • products
        • baby-short-sleeve-one-piece
    4. Stickers
      • handle: stickers
      • products
        • appwrite-sticker-pack
    5. Accessories
      • handle: accessories
      • products
        • coffee-mug
    6. Decor
      • handle: decor
      • products
        • appwrite-throw-pillow-black-center
  6. Start the storefront

    cd storefront
    cp .env.template .env.local
    npm i
    npm run dev

Usage

Admin

Browse to http://localhost:7000/ and login with:

Storefront

Browse to http://localhost:8000/.