Introduction
A modern, multi-tenant e-commerce SaaS platform built for the Cash on Delivery economy
S5ARC strips away the bloat and provides a frictionless "Launch before lunch" experience:
- Claim your store in seconds with dynamic subdomains (
yourstore.s5arc.store) - Upload products with an intuitive dashboard
- Share links and start accepting COD orders immediately
- No coding required for store owners
- Open source for developers who want to self-host or customize
Launch in 60 Seconds
Get your store live faster than you can make coffee
COD-First Design
Built specifically for Cash on Delivery markets
Developer Friendly
Headless architecture with fully documented REST API
Key Features
For Store Owners
- Multi-Tenant Architecture: Each store gets its own subdomain with strict data isolation
- Intuitive Dashboard: Manage products, orders, and customers without technical knowledge
- Instant Setup: No complex configuration or onboarding process
- Mobile Optimized: Your storefront loads instantly on mobile devices (crucial for conversion)
- Custom Branding: Personalize your store with themes and custom scripts
For Developers
- Headless API: Build custom frontends with Vue, Svelte, React Native, or any framework
- Type Safety: End-to-end type safety with TypeScript, Zod, and Drizzle ORM
- Modern Stack: Next.js 15, PostgreSQL, Next-Auth, Tailwind CSS
- Open Source: AGPL-3.0 licensed, self-hostable, and extensible
- Well Documented: Every API endpoint is documented with OpenAPI specifications
Headless Commerce
S5ARC exposes a fully documented REST API, allowing agencies to build custom frontends while relying on S5ARC's powerful checkout and inventory engine.
Architecture Highlights
S5ARC is built on a robust technical foundation that balances performance with developer experience.
Tech Stack
| Technology | Purpose |
|---|---|
| Next.js 16 | App Router for advanced routing SSR & other features |
| TypeScript | Type safety across the entire codebase |
| Drizzle ORM | Type-safe database queries |
| PostgreSQL | Single database with Row Level Security patterns |
| Zod | Runtime validation and schema definition |
| Better-Auth | Authentication & session management |
| Tailwind CSS & ShadCN/UI | Utility-first styling & UI components |
Database Architecture
While S5ARC uses a single PostgreSQL instance for all tenants, strict data isolation is enforced at the application layer using Row Level Security (RLS) patterns. Each query is scoped to the authenticated store.
Quick Start
Clone the Repository
git clone https://github.com/S5SAJID/next-dashcommerce.git
cd next-dashcommerceInstall Dependencies
npm installConfigure Environment
Copy .env.example to .env.local and configure your database and authentication providers:
cp .env.example .env.localRun Database Migrations
npm run db:pushStart Development Server
npm run devYour S5ARC instance will be running at http://localhost:3000 🎉
What's Next?
Configuration Guide
Learn how to configure your S5ARC instance
API Reference
Explore the REST API documentation
Architecture Deep Dive
Understand the technical design decisions
Deployment Guide
Deploy S5ARC to production
Roadmap
S5ARC is a living ecosystem. Here's what's coming next:
- Global Payment Integration: Stripe, LemonSqueezy, and local payment methods
- AI Storefront Agent: Generate custom stores via natural language
- Custom Domains (BYOD): Full white-label support with automatic SSL
- Mobile App: Native mobile app for store management
- Analytics Dashboard: Advanced insights and reporting
Contribute to S5ARC
S5ARC is open source! Check out our GitHub repository to contribute, report issues, or request features.
Need Help?
- Documentation: You're already here!
- GitHub: S5SAJID/next-dashcommerce
- S5ARC: s5arc.store
- Contact: Email me
Let's democratize e-commerce together. 🚀