A production-ready, bilingual (Arabic + English) SaaS boilerplate built on Next.js 15, Supabase, and Stripe. Arabic-first with full RTL support.
قالب SaaS جاهز للإنتاج، ثنائي اللغة (عربي + إنجليزي) مبني على Next.js 15 و Supabase و Stripe. عربي أولاً مع دعم كامل لـ RTL.
- Framework | الإطار: Next.js 15.1.3 (App Router)
- React: 19.0.0
- Database | قاعدة البيانات: Supabase (PostgreSQL + Auth)
- Auth | المصادقة: Supabase Auth + Google OAuth
- Payments | المدفوعات: Stripe (checkout, portal, webhooks)
- Email | البريد: Resend
- Styling | التصميم: Tailwind CSS 4 + DaisyUI 5
- Fonts | الخطوط: Inter (EN), Cairo + Tajawal (AR)
- Chat | الدردشة: Crisp SDK
- AI: OpenAI GPT integration
git clone https://github.com/alamouri99/SaaSfast-ar.git
cd SaaSfast-ar
npm installCopy .env.example to .env.local and fill in your keys:
انسخ .env.example إلى .env.local واملأ المفاتيح:
cp .env.example .env.localRequired keys | المفاتيح المطلوبة:
NEXT_PUBLIC_SUPABASE_URL— Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY— Supabase anonymous keySUPABASE_SERVICE_ROLE_KEY— Supabase admin keySTRIPE_PUBLIC_KEY— Stripe publishable keySTRIPE_SECRET_KEY— Stripe secret keySTRIPE_WEBHOOK_SECRET— Stripe webhook signing secretRESEND_API_KEY— Resend email API key
npm run devSaaSFast uses a custom i18n system without external libraries:
يستخدم SaaSFast نظام ترجمة مخصص بدون مكتبات خارجية:
| File | Purpose | الغرض |
|---|---|---|
libs/i18n.js |
All translations as {ar, en} objects |
جميع الترجمات ككائنات {ar, en} |
libs/locale.js |
React Context for locale state | سياق React لحالة اللغة |
components/LanguageToggle.js |
AR/EN toggle button | زر تبديل العربي/الإنجليزي |
config/storefront.js |
defaultLocale: "ar" |
اللغة الافتراضية |
import { useLocale } from "@/libs/locale";
import { t } from "@/libs/i18n";
const MyComponent = () => {
const { locale } = useLocale();
return <h1>{t("hero.title", locale)}</h1>;
};Add your translations to libs/i18n.js:
أضف ترجماتك إلى libs/i18n.js:
mySection: {
myKey: { ar: "النص العربي", en: "English text" },
}Then use t("mySection.myKey", locale) in your component.
- Full bilingual UI (Arabic + English) | واجهة ثنائية اللغة كاملة
- RTL/LTR auto-switching | تبديل تلقائي RTL/LTR
- Arabic-first fonts (Cairo, Tajawal) | خطوط عربية أولاً
- Language toggle in header | تبديل اللغة في الهيدر
- Google OAuth sign-in | تسجيل دخول عبر Google
- Stripe checkout + customer portal | دفع Stripe + بوابة العملاء
- Webhook-driven access control | تحكم بالوصول عبر webhooks
- Role-based access (customer, admin, super_admin) | وصول قائم على الأدوار
- Project overview with pipeline tracker | نظرة عامة على المشروع مع متتبع المراحل
- 10-stage visual progress | تقدم مرئي من 10 مراحل
- Onboarding wizard | معالج التسجيل
- Admin panel for project management | لوحة إدارة لإدارة المشاريع
- Landing page with Hero, Problem, Features, Pricing, FAQ, CTA | صفحة هبوط كاملة
- Blog system with categories and authors | نظام مدونة
- SEO tags + sitemap generation | وسوم SEO + خريطة موقع
- Product catalog with tiered pricing | كتالوج منتجات
- Dual-mode:
storefrontvstemplate| وضعين: واجهة المتجر vs القالب - Token injection for branding | حقن الرموز للعلامة التجارية
- Clone scripts for customer instances | سكربتات الاستنساخ
SaaSfast-ar/
├── app/ # Next.js App Router pages & API routes
│ ├── page.js # Landing page | صفحة الهبوط
│ ├── dashboard/ # User dashboard | لوحة تحكم المستخدم
│ ├── admin/ # Admin panel | لوحة الإدارة
│ ├── blog/ # Blog system | نظام المدونة
│ └── api/ # API endpoints | نقاط API
├── components/ # 44 React components | 44 مكوّن React
│ ├── admin/ # Admin components | مكونات الإدارة
│ ├── dashboard/ # Dashboard components | مكونات لوحة التحكم
│ └── onboarding/ # Onboarding wizard | معالج التسجيل
├── config/ # App configuration | إعدادات التطبيق
│ ├── storefront.js # Storefront config (bilingual) | إعدادات المتجر
│ └── template.js # Template config | إعدادات القالب
├── libs/ # Core integrations | التكاملات الأساسية
│ ├── i18n.js # Translation system | نظام الترجمة
│ ├── locale.js # Locale context | سياق اللغة
│ ├── stripe.js # Stripe utilities | أدوات Stripe
│ └── supabase/ # Supabase client | عميل Supabase
├── supabase/ # Database migrations | ترحيلات قاعدة البيانات
├── docs/ # Architecture docs | وثائق البنية
└── scripts/ # Automation scripts | سكربتات الأتمتة
Set in config/storefront.js:
defaultLocale: "ar" // "ar" for Arabic-first, "en" for English-firstNEXT_PUBLIC_APP_MODE=storefront # "storefront" (default) or "template"npm run build
npm run startFor production deployment with custom domain, SSL, and VPS setup, see docs/template-system.md.
للنشر على الإنتاج مع نطاق مخصص و SSL و VPS، راجع docs/template-system.md.
- Email | البريد: support@saasfast.ai
- Built by SMOrchestra.ai
Built with SaaSFast | مبني بواسطة SaaSFast