rigby-sh / solace-medusa-starter

https://solace-medusa-starter.vercel.app
25 stars 9 forks source link

Solace Logo

DTC furniture eCommerce starter

Solace is a sleek and modern DTC furniture eCommerce starter built on Medusa 2.0 and Next.js 14. It offers a complete suite for launching an online store, including a product grid with filtering, user profiles, order history, multi-step checkout with Stripe integration, product search, and customizable product pages. Integrated with Strapi CMS, it offers pre-built content models for easy website editing.

 

Table of Contents

 

Prerequisites

 

Overview

Features

The storefront has been designed to meet all the requirements of modern e-commerce stores.

Demo

User Profile

User-profile

 

Cart

Cart

 

Checkout

Checkout

 

Search

Search

 

Product Page

Product page

 

Quickstart

Clone the repository


git clone https://github.com/rigby-sh/solace-medusa-starter.git

Install packages


yarn install

Envs

Create a .env file and add environment variables listed below.


NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY=YOUR_MEDUSA_PUBLISHABLE_KEY
NEXT_PUBLIC_MEDUSA_BACKEND_URL=YOUR_MEDUSA_BACKEND_URL
NEXT_PUBLIC_DEMO_MODE=BOOLEAN_VALUE
NEXT_PUBLIC_STRAPI_URL=YOUR_STRAPI_URL
NEXT_PUBLIC_STRAPI_READ_TOKEN=YOUR_STRAPI_READ_TOKEN
NEXT_PUBLIC_CDN_SPACE_DOMAIN=YOUR_CDN_SPACE_DOMAIN
NEXT_PUBLIC_SPACE_DOMAIN=YOUR_SPACE_DOMAIN
NEXT_PUBLIC_SPACE_ENDPOINT=YOUR_SPACE_ENDPOINT
STRAPI_WEBHOOK_REVALIDATION_SECRET=YOUR_STRAPI_WEBHOOK_REVALIDATION_SECRET

Develop

Start your application with autoReload enabled


yarn dev

Build

Build the project to generate the production version preview


yarn build

Start

Run the preview version of the project


yarn start

 

Deploying the project with Vercel

Deploying your application on Vercel is a quick and straightforward process that allows for easy management and scaling of your project. To deploy your project, click the button below to start the process. Vercel will guide you through the configuration steps and connect to your repository.

Deploy

 

Resources

Learn more about Medusa

Learn more about Next.js

Learn more about Strapi

 

[!IMPORTANT] Image Usage Disclaimer: The images used in this starter are for preview purposes only. They are licensed exclusively for use within this demo and cannot be used in any commercial applications or redistributed. If you intend to use this starter for your own store, please replace all images with assets that are appropriately licensed for your project.

 

Contributors