Proxima is an official Swell storefront app built with Astro and React, designed to provide a modern, performant e-com
Proxima is designed to deploy on Cloudflare Pages for optimal performance. This app serves as both a production-ready app and a reference implementation for building custom Swell storefronts apps.
- ποΈ Complete ecommerce experience: Full-featured storefront with product listings, cart management, checkout, and customer accounts
- π¨ Adaptable design: Customizable theme systemusing sections and blocks, compatible with Shopify themes
- π Multi-language & multi-currency: Full internationalization support
- π± Responsive: Mobile-first design that works across all devices
- Cross-selling & upselling: Product recommendations and sticky add-to-cart features
- Account management: Customer registration, login, order history, and subscription management
- Content management: Blog system, custom pages, and flexible content sections
- Search & navigation: Advanced search functionality with category filtering
- Bulk pricing: Support for wholesale and volume pricing tiers
- Subscription commerce: Built-in support for recurring payments and subscriptions
One of Proxima's most powerful features is its Shopify compatibility layer, enabling merchants to use existing Shopify themes with minimal modifications:
- Liquid templates: Complete support for Shopify's Liquid templating language
- Theme objects: Most Shopify Liquid objects, filters, and tags are supported
- Page templates: Direct mapping between Swell and Shopify page types
- Forms: All standard Shopify forms (login, cart, checkout, etc.) work seamlessly
- Sections & layouts: Full compatibility with Shopify's Online Store 2.0 framework
Proxima automatically converts Shopify page types to Swell equivalents:
| Shopify Template | Proxima Template | Description |
|---|---|---|
index.liquid |
index.json |
Homepage |
product.liquid |
products/product.json |
Product detail page |
collection.liquid |
categories/category.json |
Category/collection page |
list-collections.liquid |
categories/index.json |
Category listing |
page.liquid |
pages/page.json |
Content pages |
blog.liquid |
blogs/category.json |
Blog category |
article.liquid |
blogs/blog.json |
Blog article |
customers/*.liquid |
account/*.json |
Customer account pages |
- Dynamic object conversion: Swell objects are automatically converted to Shopify-compatible formats
- Form compatibility: Shopify form patterns work without modification
- Route mapping: Shopify URLs are mapped to equivalent Swell routes
- Theme editor support: Works with Swell's visual theme editor
- Cost effective: Reuse existing Shopify theme investments
- Developer friendly: Leverage existing Shopify development expertise
- Time saving: Minimal code changes required for theme migration
- Future proof: Access to Swell's advanced commerce features while maintaining familiar theme structure
proxima/
βββ frontend/ # Astro frontend application
β βββ src/
β β βββ components/ # Reusable UI components
β β βββ layouts/ # Page layout templates
β β βββ pages/ # Route definitions and page components
β β β βββ account/ # Customer account pages
β β β βββ blogs/ # Blog and content pages
β β β βββ cart/ # Shopping cart functionality
β β β βββ categories/ # Product category pages
β β β βββ products/ # Product listing and detail pages
β β β βββ search/ # Search functionality
β β βββ resources/ # Data fetching and API integration
β β βββ forms/ # Form handling components
β β βββ utils/ # Utility functions and helpers
β βββ public/ # App's own static assets
βββ assets/ # App assets and marketing materials
βββ settings/ # App configuration settings
βββ swell.json # Swell app configuration
- Node.js 18.16.1 or higher
- npm, yarn, or pnpm
- Swell CLI installed globally
npm install -g @swell/cliTo create your own custom storefront app based on Proxima:
-
Clone the Proxima repository
git clone https://github.com/swellstores/proxima-app.git my-storefront-app cd my-storefront-app -
Install dependencies
npm install
-
Login to Swell
swell login
-
Push the app to your development store
swell app push
-
Start development mode
swell app dev
This will start the local development server and open your browser to preview the app
- Local development: Use
swell app devto run the app locally with live reloading - Push changes: Use
swell app pushto sync configuration changes to your development store - Watch mode: Use
swell app watchto automatically push changes as you develop - Deploy frontend: Use
swell app frontend deployto deploy your frontend to Cloudflare Pages
| Command | Description |
|---|---|
swell app dev |
Start development server with live reloading |
swell app push |
Push app configuration to development store |
swell app watch |
Watch for changes and auto-push configurations |
swell app frontend deploy |
Deploy frontend to Cloudflare Pages |
swell app info |
Show app information and status |
npm run build |
Build production version locally |
- Theme development: Use
swell theme dev --localto develop themes alongside your app - Multiple storefronts: Use
--storefront-selectto choose which storefront to preview - Version management: Use
swell app versionto manage app versions - Release: Use
swell app releaseto publish new versions to the App Store
Proxima is built using modern web technologies:
- Frontend: Astro + React for optimal performance and developer experience
- Deployment: Cloudflare Pages with edge computing capabilities
- API integration: Swell Apps SDK for seamless ecommerce functionality
- Styling: Component-based styling with theme customization
- Testing: Jest for unit testing
The app is configured through several key files:
swell.json: Defines app metadata, page routes, and Swell integrationastro.config.mjs: Astro framework configurationpackage.json: Dependencies and build scripts.swellrc: Swell CLI configuration
Proxima includes a flexible theming system that allows for:
- Custom color schemes and branding
- Configurable layout sections
- Responsive design components
- Template overrides for custom functionality
Proxima is designed to deploy on Cloudflare Pages for optimal performance:
- Build the frontend:
npm run build - Deploy using Swell CLI or Cloudflare Pages directly
- Configure environment variables for your Swell store
This is an official Swell storefront app. For customizations:
- Fork the repository
- Make your changes
- Test thoroughly
- Submit a pull request
- Swell Documentation
- Proxima Documentation
- Astro Documentation
- Storefront App Development
- Swell Apps SDK
- Swell CLI Documentation
See the LICENSE file for details.
Proxima is maintained by the Swell team and serves as the reference implementation for modern Swell storefronts.