This repository contains the Svelte-based frontend for Moonshine, a platform that empowers Shopify stores to engage customers with personalized campaigns. The Svelte frontend interacts with the Sanity CMS to fetch and display dynamic content related to campaigns, customer profiles, and analytics.
Moonshine is a personalized text marketing tool for Shopify store owners, enabling automated campaigns. Customers receive personalized, ROI-focused postcards with a personal touch.
Layer | Technologies / Tools |
---|---|
Frontend | Svelte, JavaScript, TypeScript, Vite, Tailwind CSS |
Backend | Sanity CMS (Content Lake), GROQ |
Hosting | Vercel |
State Management | Svelte Store |
APIs | Sanity API, GROQ |
The backend for Moonshine is built with Sanity CMS. You can check out the full source code here:
GitHub Repo โ Moonshine Backend
Prerequisites
npm install -g degit
Setup
Clone the repository:git clone https://github.com/prathushan/moonshine-sveltekit.git
Navigate to the frontend folder:cd moonshine-sveltekit
Install dependencies:npm install
Start the development server:npm run dev