- GitHub - @stnguyen90
- Twitter - @stnguyen90
- Discord - BalistarDrake#3823
This is a demo of the Appwrite Swag Store built using Medusa, an open source e-commerce platform.
Make sure you have the following installed:
- Node.js v14 or greater installed on your machine
-
Install Medusa CLI
npm install -g @medusajs/medusa-cli
-
Seed the backend
cd backend medusa seed -f ./data/seed.json
-
Start the backend
medusa develop cd ..
-
Start the admin console
cd admin npm i npm start cd ..
-
Create the following collections and add the relevant products:
- Women
- handle: women
- products
- appwrite-womens-joggers
- Men
- handle: men
- products
- appwrite-mens-joggers
- appwrite-mens-t-shirt-v2
- Kids
- handle: kids
- products
- baby-short-sleeve-one-piece
- Stickers
- handle: stickers
- products
- appwrite-sticker-pack
- Accessories
- handle: accessories
- products
- coffee-mug
- Decor
- handle: decor
- products
- appwrite-throw-pillow-black-center
- Women
-
Start the storefront
cd storefront cp .env.template .env.local npm i npm run dev
Browse to http://localhost:7000/ and login with:
- Email: admin@appwrite.io
- Password: supersecret
Browse to http://localhost:8000/.