Skip to content

About

✨ Deen Bridge πŸ•Œ β€” Next.js platform for authentic Islamic education (courses, books, spaces, mentorship) with a cited AI assistant and non-custodial Stellar/USDC payments.

Topics

Resources

Contributing

Accessibility

Stars

91 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

651 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•Œ Deen Bridge

Authentic Islamic education β€” courses, books, community, and mentorship, with payments on Stellar.

CI License: MIT PRs Welcome Stellar

Live App Β· Report a Bug Β· Contribute


πŸ“Έ Screenshots

Landing Page Login / Sign Up
Landing Page Login
Dashboard Admin Area

About

Deen Bridge is a modern learning platform that connects Muslims worldwide with authentic Islamic knowledge. Learners enroll in interactive courses, read from a digital library, join live community spaces, message mentors directly, and get instant answers from an Islamic-knowledge AI assistant. Courses and books are purchased with USDC on the Stellar network β€” non-custodial, with creators paid directly to their own wallets.

This repository is the web client. The platform is composed of three services:

Repository Role Live
dnb-frontend (this repo) Next.js web application dnb-frontend.vercel.app
dnb-backend REST API β€” auth, content, Stellar payments dnb-backend-api.onrender.com
dnb-ai FastAPI service for the AI assistant dnb-ai.onrender.com

✨ Features

  • πŸŽ“ Interactive Courses β€” enroll, learn, review, and track progress
  • πŸ“š Digital Library β€” read Islamic books online with a built-in PDF reader
  • πŸ’¬ Community Spaces β€” live sessions and video rooms with mentors
  • 🎬 Reels β€” short-form Islamic content
  • βœ‰οΈ Direct Messaging β€” real-time chat between students and mentors
  • πŸ€– AI Assistant β€” Islamic-knowledge chatbot with conversation history
  • ⭐ Stellar Payments β€” buy courses and books with USDC; creators are paid directly
  • πŸŽ“ Stellar Scholarship Escrow β€” private scholarship applications with two-review selection, Soroban USDC funding, and arbiter-reviewed milestone releases
  • πŸ‘› Multi-Wallet Support β€” Freighter, xBull, and Albedo via Stellar Wallets Kit
  • πŸ”’ Role-Based Access β€” student, mentor, and admin experiences
  • πŸ›‘οΈ Admin Area β€” role-tiered admin access (staff / super-admin) with isolated gating logic (architecture guide)
  • πŸ‘₯ Team Management β€” super-admin-only admin roster with invite links and demote/revoke actions guarded by step-up confirmation

πŸ› οΈ Tech Stack

Layer Technology
Framework Next.js 15 (App Router) Β· React 19
Styling Tailwind CSS v4 Β· Radix UI Β· Framer Motion
Forms & Validation React Hook Form Β· Zod
Blockchain @stellar/stellar-sdk Β· Stellar Wallets Kit
Data & Media Axios Β· Firebase Β· Vidstack Β· pdf.js

πŸš€ Getting Started

Prerequisites

  • Node.js 20+
  • npm (or yarn/pnpm)

Setup

git clone https://github.com/Deen-Bridge/dnb-frontend.git
cd dnb-frontend
npm install
cp .env.example .env.local   # then fill in your values
npm run dev

The app runs at http://localhost:3000.

Environment Variables

Variable Required Description
NEXT_PUBLIC_API_URL No (default http://localhost:5000) Base URL of the dnb-backend API
NEXT_PUBLIC_AI_API_URL No (default http://localhost:8000) Base URL of the dnb-ai AI assistant service
NEXT_PUBLIC_STELLAR_NETWORK No (default testnet) Stellar network β€” testnet or mainnet
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME Yes Cloudinary cloud name for unsigned image/video uploads
NEXT_PUBLIC_JITSI_DOMAIN No (default meet.jit.si) Jitsi Meet domain for live video spaces
NEXT_PUBLIC_JITSI_REQUIRE_JWT No (default false) Whether the Jitsi deployment requires a signed JWT token
NEXT_PUBLIC_FIREBASE_* No Firebase Web SDK config values (apiKey, authDomain, projectId, etc.) β€” defaults to the project's current values
NEXT_PUBLIC_ADMIN_INVITE_BASE_URL No (default current origin) Base URL used when building admin invite links generated on the team management page
NEXT_PUBLIC_ADMIN_INVITE_TTL_HOURS No (default 72) Validity window (in hours) surfaced for admin invite tokens β€” enforced by the backend

See .env.example for the full variable list with example values.

Scripts

Command Purpose
npm run dev Start the development server (Turbopack)
npm run build Production build
npm run start Serve the production build
npm run lint Run ESLint

Contributing

  • All pull requests target the dev branch (main is releases only)
  • CI (lint + build) must pass before review
  • Claim or confirm an issue with the maintainers before starting substantial work.

Read CONTRIBUTING.md for the full workflow and coding standards.

πŸ“œ License

MIT Β© Deen Bridge

πŸ”— Links

About

✨ Deen Bridge πŸ•Œ β€” Next.js platform for authentic Islamic education (courses, books, spaces, mentorship) with a cited AI assistant and non-custodial Stellar/USDC payments.

Topics

Resources

Contributing

Accessibility

Stars

91 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages