shopnex
Open-source Shopify alternative – self-hosted ecommerce with Liquid themes, admin dashboard and app SDK
Explore projectOpen source Shopify alternative built on Next.js and Keystone.js
Automatically checked · GitHub checked 2026-11-13
Open-source alternative to

Evaluate hosting, migration and feature requirements before switching.
Openfront is a comprehensive e-commerce platform that provides everything you need to build and manage online stores. It includes a powerful admin dashboard, customer storefront, payment processing, inventory management, and advanced e-commerce features.
Documentation: docs.openship.org/docs/openfront/ecommerce
| Storefront | e-commerce.openship.org |
| Dashboard | e-commerce.openship.org/dashboard |
| User | [email protected] |
| Password | UBaamC6WA*vL9dP46Lcrip2S52V4yNJ*6Xu |
Every Openfront is open source and self-hostable. Try any of them on its live demo.
| Product | For | Repository | Demo | Docs |
|---|---|---|---|---|
| Openfront E-commerce (this repository) | Online store: catalog, checkout, orders, fulfillment | openfront | e-commerce.openship.org | Docs |
| Openfront Restaurant | Online ordering, POS and kitchen display | openfront-restaurant | restaurant.openship.org | Docs |
| Openfront Grocery | Grocery ordering, lots, expiry and pickup | openfront-grocery | grocery.openship.org | Docs |
| Openfront Gym | Memberships, classes, check-in and billing | openfront-gym | gym.openship.org | Docs |
| Openfront Hotel | Reservations, front desk, housekeeping, folios | openfront-hotel | hotel.openship.org | Docs |
| Openfront Rental | Short-term rental bookings and calendars | openfront-rental | rental.openship.org | Docs |
| Openfront Salon | Appointments, stylists and services | openfront-salon | salon.openship.org | Docs |
| Openfront Barbershop | Bookings, walk-ins and barbers | openfront-barbershop | barbershop.openship.org | Docs |
| Openfront Coffee Shop | Café ordering and counter POS | openfront-coffeeshop | coffee-shop.openship.org | Docs |
| Openfront Real Estate | Listings, showings and transactions | openfront-realestate | real-estate.openship.org | Docs |
| Openfront Dealership | Inventory, test drives, deals and service | openfront-dealership | dealership.openship.org | Docs |
| Openfront Vape | Age-gated retail with compliance controls | openfront-vape | vape.openship.org | Docs |
| Openfront Convenience | Convenience store POS and inventory | openfront-convenience | convenience.openship.org | Docs |
| Openfront Collectibles | Graded items, consignment and provenance | openfront-collectibles | collectibles.openship.org | Docs |
| Openfront Cannabis | Dispensary menu, packages and recalls | openfront-cannabis | cannabis.openship.org | Docs |
| Openfront Pharmacy | Prescriptions, inventory lots and pickup | openfront-pharmacy | pharmacy.openship.org | Docs |
| Openfront Med Spa | Treatments, consents and memberships | openfront-medspa | medspa.openship.org | Docs |
| Openfront Construction | Projects, bids, change orders and crews | openfront-construction | construction.openship.org | Docs |
| Openfront Law Firm | Matters, intake, time and billing | openfront-law-firm | law-firm.openship.org | Docs |
| Openfront Scheduling | Booking pages for appointment businesses | openfront-scheduling | scheduling.openship.org | Docs |
| Openfront Social | Creator community and posts | openfront-social | social.openship.org | Docs |
| Openfront Rideshare | Rides, drivers and dispatch | openfront-rideshare | rideshare.openship.org | Docs |
| Openfront Airline | Flights, booking and passenger operations | openfront-airline | airline.openship.org | Docs |
| Openfront Hospital | Appointments, patients and care teams | openfront-hospital | hospital.openship.org | Docs |
| Openfront Sportsbook | Markets, bets and results | openfront-sportsbook | sportsbook.openship.org | Docs |
| Openfront Financial | Accounts, portfolios and advisory | openfront-financial | financial.openship.org | Docs |
| Openfront Analytics | Privacy-friendly website analytics | analytics | analytics.openship.org | Docs |
| Openship | Order routing from sales channels to fulfillment | openship | os.openship.org | Docs |
| Marketplace | Shop across Openfront stores | marketplace | marketplace.openship.org | Docs |
The admin dashboard is your control center for managing all aspects of your e-commerce business. From here you can manage products, process orders, handle customers, configure payments, and analyze your store's performance.
Your customer-facing storefront provides a complete shopping experience. Customers can browse products, add items to cart, complete checkout, create accounts, and manage their orders. The storefront is fully customizable and mobile-responsive.
Integrated payment processing with support for multiple payment providers including Stripe and PayPal. Built-in order fulfillment with shipping integrations, inventory tracking, and automated order processing workflows.
Every Openfront instance comes with a built-in AI Assistant powered by the Model Context Protocol (MCP).
openfront/
├── app/ # Next.js App Router
│ ├── dashboard/ # Admin platform interface
│ ├── (storefront)/ # Customer-facing pages
│ └── api/ # API endpoints and webhooks
├── features/
│ ├── keystone/ # Backend models and GraphQL schema
│ ├── platform/ # Admin platform components
│ ├── storefront/ # Frontend components and screens
│ └── integrations/ # Payment and shipping adapters
└── components/ # Shared UI components
Openfront includes 78+ sophisticated data models covering:
Clone and install dependencies:
git clone https://github.com/openshiporg/openfront.git
cd openfront
npm install
Configure environment variables:
cp .env.example .env
Update .env with your configuration:
# Required - Database Connection
DATABASE_URL="postgresql://username:password@localhost:5432/openfront"
# Required - Session Security (must be at least 32 characters)
SESSION_SECRET="your-very-long-session-secret-key-here-32-chars-minimum"
# Optional - Payment Providers (Stripe)
STRIPE_SECRET_KEY="sk_test_51..."
STRIPE_WEBHOOK_SECRET="whsec_..."
# Optional - Payment Providers (PayPal)
PAYPAL_CLIENT_ID="your-paypal-client-id"
PAYPAL_CLIENT_SECRET="your-paypal-client-secret"
# Optional - Shipping Provider (Shippo)
SHIPPO_API_KEY="shippo_test_..."
# Optional - File Storage (S3-compatible)
S3_BUCKET_NAME="your-bucket-name"
S3_REGION="us-east-1"
S3_ACCESS_KEY_ID="your-access-key"
S3_SECRET_ACCESS_KEY="your-secret-key"
# Optional - Email Configuration
SMTP_HOST="smtp.gmail.com"
SMTP_PORT="587"
SMTP_USER="[email protected]"
SMTP_PASS="your-app-password"
FROM_EMAIL="[email protected]"
Start development server:
npm run dev
This will:
Access the application:
Create your first admin user:
On first visit to the admin panel, you'll be prompted to create an admin user account at /dashboard/init
Run store onboarding: After creating your admin account, use the onboarding process to set up your store with sample data
npm run dev - Build Keystone + migrate + start Next.js dev servernpm run build - Build Keystone + migrate + build Next.js for productionnpm run migrate:gen - Generate and apply new database migrationsnpm run migrate - Deploy existing migrations to databasenpm run lint - Run ESLintConfigure payment providers using the adapter pattern:
// Payment provider integration
const paymentResult = await paymentProviderAdapter.createPaymentFunction({
cart,
amount: cart.total,
currency: cart.currency.code,
customer: cart.customer
});
Set up shipping providers with flexible adapter system:
// Shipping provider integration
const rates = await shippingProviderAdapter.getRatesFunction({
provider,
fromAddress: warehouse.address,
toAddress: order.shippingAddress,
packages: order.packages
});
For comprehensive technical documentation, see docs.openship.org/docs/openfront/ecommerce which covers:
canManageProducts - Product catalog managementcanManageOrders - Order processing and fulfillmentcanManageCustomers - Customer managementcanManagePayments - Payment processingcanViewAnalytics - Business analytics access/dashboard)Openfront is production-ready and can be deployed to:
We welcome contributions! Please see our contributing guidelines for details on:
This project is licensed under the MIT License - see the LICENSE file for details.
Built on top of next-keystone-starter