S5ARC is the easiest modern open-source e-commerce platform to start your online store in seconds, with a clean UI, beautiful user experience, and a modern stack (Next.js, Zod, shadcn/ui). Focused on type safety, multi-tenancy, and developer experience, it lets business owners create their own online stores with custom subdomains to add products and manage orders. Includes a full e-commerce flow: products, orders, customers, checkout, and modern authentication.
- Multi-Tenancy Architecture: Create and manage multiple stores with custom subdomains and isolated data.
- Modern Tech Stack: Built with Next.js 15 (App Router), React 19, and Tailwind CSS v4.
- End-to-End Type Safety: Full TypeScript integration with Zod validation and Drizzle ORM.
- Complete E-commerce Flow: Product management, cart functionality, checkout process, and order tracking.
- Admin Dashboard: Comprehensive dashboard for store owners to manage inventory, orders, and settings.
- Authentication: Secure authentication flow using Better Auth with email verification.
- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS & shadcn/ui
- Database: PostgreSQL
- ORM: Drizzle ORM
- Auth: Better Auth
- Validation: Zod
- Node.js 18+ or Bun
- PostgreSQL Database
-
Clone the repository
git clone https://github.com/S5SAJID/next-dashcommerce.git cd next-dashcommerce -
Install dependencies
bun install
-
Set up environment variables Copy
.env.exampleto.env.localand configure your database and auth secrets. -
Run database migrations
bun drizzle-kit migrate
-
Start the development server
bun dev
src/
├── app/ # Next.js App Router (Auth, Dashboard, Storefront)
├── components/ # Atomic Design Components
├── db/ # Drizzle Schema & Actions
├── lib/ # Utilities & Configuration
└── hooks/ # Custom React Hooks
Contributions are welcome! Please feel free to submit a Pull Request.
By contributing to this project, you agree that:
- You grant the project maintainers a perpetual, worldwide, non-exclusive, royalty-free license to use, reproduce, modify, and distribute your contributions.
- The project maintainers retain the right to sublicense the project under different licensing terms (including commercial licenses).
- Your contributions are your original work and do not violate any third-party rights.
This ensures that we can continue to offer commercial licensing options while maintaining the open-source version under AGPL-3.0.
This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.
The GNU Affero General Public License v3.0 (AGPL-3.0) is a strong copyleft license that requires you to:
- Share source code: If you modify and deploy this software (even as a web service), you must make the complete source code available to your users.
- Same license: Any derivative works must also be licensed under AGPL-3.0.
- Attribution: You must include a "Powered by S5ARC." link in your footer that links back to this repository.
Need to use NextDash Commerce (S5ARC.) without AGPL restrictions?
We offer commercial licenses for businesses that want to:
- Use the software without sharing source code modifications
- Integrate into proprietary systems
- Remove the "Powered by S5ARC." attribution requirement
- Receive priority support and custom features
For commercial licensing inquiries, please contact:
If you use this software under the AGPL-3.0 license, you must include a visible "Powered by S5ARC." link in the footer of your application that links to this repository:
<a href="https://github.com/S5SAJID/next-dashcommerce" target="_blank">
Powered by S5ARC.
</a>This helps users fulfill the AGPL requirement of making source code available and supports the continued development of this project.
